Siebel eScript Language Reference > Siebel eScript Commands > Date and Time Methods >

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

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
setUTCSeconds() Method

Siebel eScript Language Reference