next up previous contents
Next: setYear Up: Methods Previous: setUTCMonth   Contents


setUTCSeconds

Description

Sets the seconds for the specified Date object in universal time, and returns the new time in milliseconds.


Syntax

date1.setUTCSeconds(second[, millisecond]))


Parameters

second
An integer from 0 to 59.
millisecond
Optional. An integer from 0 to 999.


Returns

An integer




Copyright ©2000-2010 Shanghai TopCMM Software Technologies. All Rights Reserved.