What is the JavaScript Date.now() time format called?

Viewed 456

I'm asking to know what to write in my documentation.

MDN describes it as:

A Number representing the milliseconds elapsed since the UNIX epoch.

While W3Schools describes it as:

the number of milliseconds since 1970/01/01

However, those are just descriptions. The Wikipedia page of Unix time states:

Unix time is a system for describing instants in time, defined as the number of seconds that have elapsed since 00:00:00 Coordinated Universal Time (UTC), Thursday, 1 January 1970 [...]

Seconds. Not milliseconds, as returned by Date.now(). So I can't really call it the "unix time format" as well.


Does the "number representing the milliseconds elapsed since the UNIX epoch" time format have a more concise name?

1 Answers
Related