iso8601

Parse and print ISO8601 dates

npm install iso8601
19 downloads in the last day
128 downloads in the last week
555 downloads in the last month

iso8601

build status

var iso8601 = require('iso8601');

var d = new Date(1325471624000);
iso8601.fromDate(d); // => 2012-01-02T02:33:44Z

iso8601.toDate('2012-01-02T02:33:44Z'); // => new Date(1325471624000)

License

MIT

npm loves you