DateTimeUtility.TryParseIso8601 method (1 of 2)

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.

Return Value

Non-null if successful.

See Also


DateTimeUtility.TryParseIso8601 method (2 of 2)

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.

Return Value

True if successful.

See Also