Javascript Reference
Categories: Date

javascript Date valueOf( )

@Nov. 6, 2009, 4:03 p.m.
valueOf( ) Firefox/Netscape/NN 4 IE 4 ECMA 1  

 

  

Returns the Date object's value. The milliseconds since 1970-1-1.
var now = new Date();
alert(now.valueOf());

 
Parameters

None.

 
Returned Value

Integer millisecond count.


Powered by Linode.