iso8601

Parse and print ISO8601 dates

npm install iso8601
3 downloads in the last day
76 downloads in the last week
517 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