November 2001
Intermediate to advanced
936 pages
68h 43m
English
Date.setTime( ) — set a Date in milliseconds
JavaScript 1.0; JScript 1.0; ECMAScript v1
date.setTime(milliseconds)
milliseconds
The number of milliseconds between the desired date and time and
midnight GMT on January 1, 1970. A millisecond value of this type may
also be passed to the Date( ) constructor and may
be obtained by calling the Date.UTC( ) and
Date.parse( ) methods. Representing a date in this
millisecond format makes it independent of time zone.
The milliseconds argument. Prior to
ECMAScript standardization, this method returns nothing.