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

setDate() Method


This method sets the day of a Date object to a specified day of the month.

Syntax

dateVar.setDate(dayOfMonth)

Parameter
Description

dayOfMonth

The day of the month to which to set dateVar as an integer from 1 through 31

Usage

This method sets the day of dateVar to dayOfMonth as a number from 1 to 31. The first day of a month is 1; the last is 28, 29, 30, or 31.

See Also

getDate() Method
setUTCDate() Method

Siebel eScript Language Reference