May 2011
Intermediate to advanced
1096 pages
40h 54m
English
Date.now() — return the current time in milliseconds
ECMAScript 5
Date.now()
The current time, in milliseconds since midnight GMT on January 1, 1970.
Prior to ECMAScript 5, you can implement this method like this:
Date.now=function(){return(newDate()).getTime();}
Read now
Unlock full access