String.Format codes for DateTime etc

HH:mm:ss.fff

HH = 24-hour clock. hh=12-hour = tt=am/pm

MM/dd/yyyy

yyyy = 4-digit year.

https://docs.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *