Date.setUTCSeconds

Number setUTCSeconds (Number sec)

Parameters

sec An integer value in the range 0 to 59 indicating the number of seconds to set.

Description

Sets the seconds of a specified Date object according to UTC.

Returns the number of milliseconds between the date set and midnight, January 1, 1970, in UTC.