Date.now()

Term side of the Card
Topic: Date
Unit title: Date.now()
Categories: Method
Explanation side of the Card

Explanation: The static method that returns the current time as the number of milliseconds since January 1, 1970, 00:00:00 UTC (the Unix Epoch). It provides a timestamp representing the current moment in time.

Browser compatibility:
  • The chrome browser supports this feature starting from version 1
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 1
  • The safari browser supports this feature starting from version 4
Availability: