Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Parse and print ISO8601 dates
JavaScript
Branch: master
Failed to load latest commit information.
README.md REFACTOR: Simplify the implementation.

README.md

iso8601

var d = new Date(1325471624000);

d.toISOString() // => '2012-01-02T02:33:44.000Z'
Date.parse('2012-01-02T02:33:44.000Z') // => 1325471624000
Something went wrong with that request. Please try again.