Show / Hide Table of Contents

Enum DateTimeSerializationFormat

Available formatting options for serializing DateTime objects.

Namespace: Manatee.Json.Serialization
Assembly: Manatee.Json.dll
Syntax
public enum DateTimeSerializationFormat

Fields

Name Description
Custom

Output is formatted using the CustomDateTimeSerializationFormat property.

Iso8601

Output conforms to ISO 8601 formatting: YYYY-MM-DDThh:mm:ss.sTZD (e.g. 1997-07-16T19:20:30.45+01:00)

JavaConstructor

Output is a string in the format "/Date([ms])/", where [ms] is the number of milliseconds since January 1, 1970 UTC.

Milliseconds

Output is a numeric value representing the number of milliseconds since January 1, 1970 UTC.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX