I have found this piece of code in a project I am working on:
+new Date(DateTime)
Note the +
before new. If I pass in this value:
'2020-09-15T01:00:00Z'
It outputs this value:
1600131600000
Can anyone explain to me what this value is? It is not unix time - or at least the unix time moment outputs:
moment().unix(DateTime) = 1531737560
I am cleaning up my date formats within the project and cannot work out how to recreate this with moment...
EDIT:
How can I recreate this in moment.js?