Convert C# DateTime to ISO Date format

DateTime.UtcNow.ToString("o");

References
https://stackoverflow.com/questions/114983/given-a-datetime-object-how-do-i-get-an-iso-8601-date-in-string-format

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.