Section 24.58. Date.setUTCSeconds( ): set the seconds and milliseconds fields of a Date (universal time)


24.58. Date.setUTCSeconds( ): set the seconds and milliseconds fields of a Date (universal time)

ECMAScript v1

24.58.1. Synopsis

date.setUTCSeconds(seconds)

date.setUTCSeconds(seconds, millis)

24.58.1.1. Arguments

seconds

The seconds field, expressed in universal time, to be set in date. This argument should be an integer between 0 and 59.


millis

An optional integer between 0 and 999 that is used as the new value (in universal time) of the milliseconds field of date.

24.58.1.2. Returns

The millisecond representation of the adjusted date.




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