Set UTC Seconds Method

The Set UTC Seconds method sets the UTC second of the minute of a date object to a second that you specify.

Format

dateVar.setUTCSeconds(second[, millisecond])

The following table describes the arguments for the Set UTC Seconds method.

Argument Description

second

As an option, you can set the second argument to a value that you specify in the millisecond argument. For more information, see Values for Dates and Times.

millisecond