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

setSeconds() Method


This method sets the second in a Date object.

Syntax

dateVar.setSeconds(second[, millisecond])

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

Returns

Not applicable

Usage

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

See Also

getSeconds() Method, setMilliseconds() Method, and setUTCSeconds() Method


 Siebel eScript Language Reference 
 Published: 18 April 2003