DateTimeOffsetUtility.TryParseIso8601 method (1 of 2)

Converts the specified ISO 8601 representation of a date and time to its DateTimeOffset equivalent.

public static DateTimeOffset? TryParseIso8601(string? value)
parameter description
value The ISO 8601 string representation to parse.

Return Value

Non-null if successful.

See Also


DateTimeOffsetUtility.TryParseIso8601 method (2 of 2)

Converts the specified ISO 8601 representation of a date and time to its DateTimeOffset equivalent.

public static bool TryParseIso8601(string? value, out DateTimeOffset date)
parameter description
value The ISO 8601 string representation to parse.
date The DateTimeOffset equivalent.

Return Value

True if successful.

See Also