Looking for javascript Answers? Try Ask4KnowledgeBase
Looking for javascript Keywords? Try Ask4Keywords

JavaScript Low-resolution timestamps


Date.now() returns the number of whole milliseconds that have elapsed since 1 January 1970 00:00:00 UTC.

t = Date.now();

For example, Date.now() returns 1461069314 if it was called on 19 April 2016 at 12:35:14 GMT.