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

setMinutes() Method


This method sets the minute of a Date object to a specified minute.

Syntax

dateVar.setMinutes(minute[, second[, millisecond]])

Parameter
Description
minute
The minute to which to set dateVar as an integer from 0 through 59
second
The second to which to set minute 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 minute of dateVar to minute and optionally sets minute to a specific second and millisecond. The first minute of an hour is 0, and the last is 59.

See Also

getMinutes() Method, setMilliseconds() Method, setSeconds() Method, and setUTCMinutes() Method


 Siebel eScript Language Reference 
 Published: 18 April 2003