Click or drag to resize
Json.NET

DateParseHandling Enumeration

 
Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text.

Namespace:  Newtonsoft.Json
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 11.0.1
Syntax
C#
public enum DateParseHandling
Members
  Member nameValueDescription
None0 Date formatted strings are not parsed to a date type and are read as strings.
DateTime1 Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to DateTime.
DateTimeOffset2 Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to DateTimeOffset.
See Also