The internal clock in JavaScript starts at midnight January 1, 1970.

The getTime() function returns the number of milliseconds since then: