CrystalJsonSettings.DateFormat
Namespace: SnowBank.Data.Json · enum
Implements: IComparable, ISpanFormattable, IFormattable, IConvertible
Rules for serializing dates and times
Fields
Default
Default = 0
Use the global default for the dates, which is TimeStampIso8601 by default
JavaScript
JavaScript = 3
Use the JavaScript date representation "new Date(123456789)"
This will produce an invalid JSON document, and is only possible when formatting for JavaScript.
Microsoft
Microsoft = 2
Use the Microsoft date representation ("/Date(#####)/" for UTC, or "/Date(####+HHMM)/" for LocalTime)
TimeStampIso8601
TimeStampIso8601 = 1
Use the ISO 8601 format ("YYYY-MM-DDTHH:MM:SS.fffff")