ISO 8601 Date/Time Format
-
I know that you can get ISO 8601 date/time format using DateTimeFormatInfo.SortableDateTimePattern. From the VS help on DateTimeFormatInfo.SortableDateTimePattern we can get:- "This code produces the following output. CULTURE PROPERTY VALUE en-US yyyy'-'MM'-'dd'T'HH':'mm':'ss ja-JP yyyy'-'MM'-'dd'T'HH':'mm':'ss fr-FR yyyy'-'MM'-'dd'T'HH':'mm':'ss" However, there does not seem to be any mention of the timezone extension. i.e. in the format YYYY-MM-DDThh:mm:ss±hh:mm How can I add the ±hh:mm based on the current timezone location. Thanks, Liam
-
I know that you can get ISO 8601 date/time format using DateTimeFormatInfo.SortableDateTimePattern. From the VS help on DateTimeFormatInfo.SortableDateTimePattern we can get:- "This code produces the following output. CULTURE PROPERTY VALUE en-US yyyy'-'MM'-'dd'T'HH':'mm':'ss ja-JP yyyy'-'MM'-'dd'T'HH':'mm':'ss fr-FR yyyy'-'MM'-'dd'T'HH':'mm':'ss" However, there does not seem to be any mention of the timezone extension. i.e. in the format YYYY-MM-DDThh:mm:ss±hh:mm How can I add the ±hh:mm based on the current timezone location. Thanks, Liam