JavaScript Date method: setTime()
[this page | pdf | back links]
The setTime() method (when applied to a JavaScript
date) sets the
date given a specified number of milliseconds since 1 January 1970 00:00:00.
It
has the following syntax with the following parameters:
date.setTime(second,millisecond)
|
Parameter
|
Required / Optional
|
Description
|
|
millisecond
|
Required
|
Integer representing milliseconds
since 1 January 1970 00:00:00
|
NAVIGATION LINKS
Contents | Prev | Next | JavaScript Dates