Json.NET - Quick Starts & API Documentation
ToString Method (value)
Namespaces ► Newtonsoft.Json ► JsonConvert ► ToString(DateTimeOffset)
Converts the DateTimeOffset to its JSON string representation.

C# | Visual Basic | Visual C++ |
public static string ToString( DateTimeOffset value )
Public Shared Function ToString ( _ value As DateTimeOffset _ ) As String
public: static String^ ToString( DateTimeOffset value )

- value (DateTimeOffset)
- The value to convert.

A JSON string representation of the DateTimeOffset.