Click or drag to resize
Json.NET

DateFormatHandling Enumeration

 
Specifies how dates are formatted when writing JSON text.

Namespace:  Newtonsoft.Json
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
public enum DateFormatHandling
Members
  Member nameValueDescription
IsoDateFormat0 Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z".
MicrosoftDateFormat1 Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/".
See Also