JsonValueExtensionsAsDateTime Method

Overload List

AsDateTime(JsonValue, JsonDateTimeFormat, JsonValueType) Gets the specified JsonValue as a DateTime value using the specified format if expectedType is Undefined or matches the Type property of the specified json parameter and it can be converted to DateTime; otherwise, returns .
AsDateTime(JsonValue, String, NullableDateTimeKind) Gets the specified JsonValue as a DateTime value using the specified format if Type property of the specified json parameter is String and it can be converted to DateTime; otherwise, returns .
AsDateTime(JsonValue, JsonDateTimeFormat, NullableDateTimeKind, JsonValueType) Gets the specified JsonValue as a DateTime value using the specified format if expectedType is Undefined or matches the Type property of the specified json parameter and it can be converted to DateTime; otherwise, returns .

See Also