Name
Date.valueOf() — convert a Date to millisecond representation
Inherits from
Overrides Object.valueOf()
Synopsis
date
.
valueOf
()
Returns
The millisecond representation of
date
. The value returned is the same as
that returned by Date.getTime()
.
Get JavaScript: The Definitive Guide, 6th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.