DateTime is typically a data-type.

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

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


JSON itself does not specify how dates should be represented, but JavaScript does.

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


Here's why:

  • It's human readable but also succinct
  • It sorts correctly
  • It includes fractional seconds, which can help re-establish chronology
  • It conforms to ISO 8601
  • ISO 8601 has been well-established internationally for more than a decade
  • ISO 8601 is endorsed by W3C, RFC 3339, and XKCD

More Information#

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

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-3) was last changed on 08-Mar-2017 10:24 by jim