Need help to convert exactly from ISO Date string to Date:
I have an ISO string date: "2016-01-23T22:23:32.927".
But when I use
var date = new Date("2016-01-23T22:23:32.927");
Sun Jan 24 2016 05:23:32 GMT+0700
To do this, 1st load it from a CDN, e.g. Moment.JS 2.14.1 minified. Then use it as follows:
var date = moment("2016-01-23T22:23:32.927"); console.log(date); // output: Sat Jan 23 2016 22:23:32 GMT-0500
...i.e. your desired result :)