Converts the specified ISO 8601 representation of a date and time to its DateTime equivalent.
public static DateTime? TryParseIso8601(string value)
parameter | description |
---|---|
value | The ISO 8601 string representation to parse. |
Non-null if successful.
Converts the specified ISO 8601 representation of a date and time to its DateTime equivalent.
public static bool TryParseIso8601(string value, out DateTime date)
parameter | description |
---|---|
value | The ISO 8601 string representation to parse. |
date | The DateTime equivalent. |
True if successful.