Summary
The ECMAScript epoch is defined as the midnight at the beginning of January 1, 1970, UTC
1
, which is equivalent to the UNIX epoch.
JavaScript dates are specified as the number of milliseconds that have elapsed since the ECMAScript epoch.
1
According to
See more results on Neeva
Summaries from the best pages on the web
The call to Date.parse(str) parses the string in the given format and returns the timestamp (number of milliseconds from 1 Jan 1970 UTC+0). If the format is ...
Date and time
javascript.info
Here's a very common task: how do you format a date with JavaScript? there are lots of methods that will generate a string representing that date.
How to format a date in JavaScript
flaviocopes.com
For web applications especially, formatting a date is a pretty common task. Take a look ... Date.prototype to include format() , you must use dateformat as a ...
How to Format Dates in JavaScript
stackabuse.com