iso8601

Parse and print ISO8601 dates

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
iso8601
1.1.112 years ago12 years agoMinified + gzip package size for iso8601 in KB

Readme

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