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

setUTCMonth() Method


This method sets the UTC month of a Date object to a specific month.

Syntax

dateVar.setUTCMonth(month[, date])

Parameter
Description
month
The UTC month to which to set dateVar as an integer from 0 to 11
date
The UTC date of month to which to set dateVar as an integer from 1 to 31

Returns

Not applicable

Usage

This method sets the UTC month of dateVar to month as a number from 0 to 11 and optionally sets the UTC day of month to date. January is represented by 0, and December by 11.

See Also

Universal Time Functions, getUTCMonth() Method, and setMonth() Method


 Siebel eScript Language Reference 
 Published: 18 April 2003