Section 24.51. Date.setTime( ): set a Date in milliseconds


24.51. Date.setTime( ): set a Date in milliseconds

ECMAScript v1

24.51.1. Synopsis

date.setTime(milliseconds)

24.51.1.1. Arguments

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.

24.51.1.2. Returns

The milliseconds argument. Prior to ECMAScript standardization, this method returns nothing.




JavaScript. The Definitive Guide
JavaScript: The Definitive Guide
ISBN: 0596101996
EAN: 2147483647
Year: 2004
Pages: 767

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net