pixelnode/node_modules/to-iso-string/Readme.md
2018-04-04 12:31:55 +02:00

226 B

to-iso-string

Cross-browser toISOString support.

Example

var iso = require('to-iso-string');
var date = new Date("05 October 2011 14:48 UTC");

iso(date);
// "2011-10-05T14:48:00.000Z"

License

MIT