Siebel eScript Language Reference > Siebel eScript Commands > Date and Time Methods >
setFullYear() Method
This method sets the year of a Date object to a specified four-digit year. Syntax
dateVar.setFullYear(year[, month[, date]])
|
|
year |
The year to which to set dateVar as a four-digit integer |
month |
The month to which to set year as an integer from 0 to 11 |
date |
The date of month to which to set dateVar as an integer from 1 to 31 |
Usage
This method sets the year of dateVar to year. Optionally, it can set the month of year to month, and the date of month to date. The year must be expressed in four digits. See Also
getFullYear() Method setDate() Method setMonth() Method setUTCFullYear() Method setYear() Method
|