14
14

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

【Microsoft Flow】フローで日本時間の現在時刻を取得する式

Last updated at Posted at 2019-03-29

#はじめに

フローで日本時間の現在時刻を取得する際の方法メモ。

#結論

UTC(世界標準時)に時差9時間を追加すればいいので、
addHours(utcNow(), 9, 'yyyy/MM/dd HH:mm:ss')
と式を記述すれば取得できる。

#例

編集画面
image.png

実行結果画面
image.png

#addHours()式とは

フロー内で表示されるaddHours()式のTIPより

addHours(timestamp: string, hours: integer, format?: string)
必須。時刻を含む文字列。
渡された文字列のタイムスタンプに時間数を表す整数を加算します

以上

14
14
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
14
14

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?