Answers for "convert string date time to iso 86011"

C#
7

ISO 8601

YYYY-MM-DD'T'hh:mm:ss'Z'

Z is the ofset from the UTC timezone 
it can be replaced with "(+/-)hh:mm"
if ofset is not specified, character 'Z' is in place instead

2021-01-01T01:01:01+01:00
2021-02-02T02:02:42.069-02:00
2021-03-03T03:03:03.3Z
20210404T040404Z
Posted by: Guest on May-24-2021
0

how to convert date to Complete ISO-8601 date in c#

string isoFormatDateString = dateTimeObject.ToUniversalTime().ToString("s") + "Z";
Posted by: Guest on February-21-2021

Code answers related to "convert string date time to iso 86011"

C# Answers by Framework

Browse Popular Code Answers by Language