start page | rating of books | rating of authors | reviews | copyrights

JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference
Next
 

Date.setTime() Method

Name

Date.setTime() Method---set a Date in milliseconds

Availability

Navigator 2.0, Internet Explorer 3.0

Synopsis

date.setTime(milliseconds)

Arguments

milliseconds

The number of milliseconds between the desired date and time and midnight GMT on January 1st, 1970. Representing a date in this millisecond format makes it independent of time zone.

Returns

nothing

See Also

"Date", "Date.getTime()"


Previous Home Next
Date.setSeconds() Book Index Date.setYear()

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell