JavaScript Dates

The getTime() Method

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

getTime() returns the number of milliseconds since January 1, 1970:

1747578864699