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

Set Month Method


The Set Month method sets the month of dateVar to the value you specify in the month argument. You can optionally set the day of month to the date argument. For more information, see Values for Dates and Times.

Format

dateVar.setMonth(month[, date])

Table 69 describes the arguments for the Set Month method.

Table 69. Arguments of the Set Month Method
Argument
Description

month

The month to set in dateVar as an integer from 0 through 11.

date

The date of the month argument to set in dateVar as an integer from 1 through 31.

Siebel eScript Language Reference Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices.