Siebel eScript Language Reference > Methods Reference > Date and Time Methods >
Set Full Year Method
The Set Full Year method sets the year of a date object to a four digit year. Optionally, you can use Siebel eScript to set the month of the year argument to the month argument, and the date of the month argument to the date argument. You must express the year in four digits. Format
dateVar.setFullYear(year[, month[, date]])
Table 66 describes the arguments for the Set Full Year method.
Table 66. Arguments for the Set Full Year Method
|
|
year |
The year to set in dateVar as a four digit integer. |
month |
The month to set in dateVar as an integer from 0 through 11. For more information, see Values for Dates and Times. |
date |
The date to set in dateVar as an integer from 1 through 31. |
|