Glossary Term
Date.now()
The Date.now() static method returns the number of milliseconds elapsed since the epoch, which is defined as the midnight at the beginning of January 1, 1970, UTC.
Return value: A number representing the timestamp, in milliseconds, of the current time.
A number representing the timestamp, in milliseconds, of the current time.
To offer protection against timing attacks and fingerprinting, the precision of Date.now() may be reduced depending on browser settings.
The timestamp is always an integer number of milliseconds, so its resolution is limited to 1 ms in all contexts. This already satisfies certain basic security and privacy needs.
Syntax example: Date.now()
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
