| JsonConvertToString Method (DateTime) |
Converts the
DateTime to its JSON string representation.
Namespace:
Newtonsoft.Json
Assembly:
Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax public static string ToString(
DateTime value
)
Parameters
- value
- Type: SystemDateTime
The value to convert.
Return Value
Type:
StringA JSON string representation of the
DateTime.
See Also