1
0

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 3 years have passed since last update.

UiPath DateTimeに関するコツ

Last updated at Posted at 2020-06-11

#現在時刻

DateTime.Now

1行を書き込みの式:
' 既定フォーマットで出力
DateTime.Now.ToString()
' 指定したフォーマットで出力
DateTime.Now.ToString("hh:mm:ss")

#時刻調整
Add[Unit of Time]

1行を書き込みの式:
' 現在時刻を10分引く
DateTime.Now.AddMinutes(-10).ToString()
' 現在時刻を2時間足し
DateTime.Now.AddHours(2).ToString()
1
0
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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?