Using Javascript how do I convert ISO string 2013-08-10T12:10:15.474Z into a date ()object. do not use moment
I want to end up with HH MM SS MM DD YYYY
date.parse converts the string into milliseconds since 1/1/70 That is not what I want.
Using Javascript how do I convert ISO string 2013-08-10T12:10:15.474Z into a date ()object. do not use moment
I want to end up with HH MM SS MM DD YYYY
date.parse converts the string into milliseconds since 1/1/70 That is not what I want.
You can use new Date('2013-08-10T12:10:15.474Z')
or Date.parse('2013-08-10T12:10:15.474Z')
.