Siebel eScript Language Reference > Siebel eScript Commands > The Date Object >

setUTCSeconds() Method


This method sets the UTC second of the minute of a Date object to a specified second and optionally sets the millisecond within the second.

Syntax

dateVar.setUTCSeconds(second[, millisecond])

Parameter
Description
second
The UTC minute to which to set dateVar as an integer from 0 through 59
millisecond
The UTC millisecond to which to set second as an integer from 0 through 999

Returns

Not applicable

Usage

This method sets the UTC second of dateVar to second and optionally sets second to a specific UTC millisecond. The first second of a minute is 0, and the last is 59. The first millisecond is 0, and the last is 999.

See Also

Universal Time Functions, getUTCSeconds() Method, and setSeconds() Method


 Siebel eScript Language Reference 
 Published: 18 April 2003