DateTime

Overview#

DateTime is typically a data-type that is a DateTime or Date Form or Timestamp

Specific details of the data-type DateTime are context dependent.

DateTime generally implies there are both a date and a time.

ISO 8601 and DateTime (or Date-Time)#

ISO 8601 allows the following Date and Time formats:

JSON and DateTime#

JSON itself does not specify how Date-Time should be represented, but JavaScript does.

You should use the format emitted by Date's to JSON method:

2012-04-23T18:25:43.511Z

Here's why:

More Information#

There might be more information for this subject on one of the following: