Date.now Function (JavaScript)
Returns the number of milliseconds between January 1, 1970, and the current date and time.
Date.now()
The getTime method returns the number of milliseconds between January 1, 1970, and a specified date.
For information about how to calculate elapsed time and compare dates, see Date and Time Calculations (JavaScript).
Supported in the Internet Explorer 9 standards document mode. See Version Information.
Not supported in the following document modes: Quirks, Internet Explorer 6 standards, Internet Explorer 7 standards, Internet Explorer 8 standards.