3
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?

【UiPath】日付の0埋めを除いて取得する【VB.net】

Last updated at Posted at 2021-08-26

DateTime型からToStringで取得します。

月の場合は
Now.ToString("%M")
か、
Now.Month.ToString
でOK。

Now.ToString("M")
だと別の値が返るので注意です。

日にちの場合はNow.ToString("%d") Now.Day.ToString です。

image.png

image.png

参考

3
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
3
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?