Siebel eScript Language Reference > Siebel eScript Commands > Universal Time Methods >

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

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

getUTCMonth() Method
setMonth() Method
Universal Time Methods

Siebel eScript Language Reference