Date.now

Returns the number of milliseconds elapsed since Unix epoch (January 1, 1970 00:00:00 UTC).

Syntax

now()

Return value

A number representing the number of milliseconds elapsed since Unix epoch (January 1, 1970 00:00:00 UTC).