Siebel eScript Language Reference > Methods Reference > Date and Time Methods >
Set Year Method
The Set Year method sets the year of a date object as a two digit or four digit year that you specify. Format
dateVar.setYear(year)
Table 71 describes the arguments for the Set Year method.
Table 71. Arguments for the Set Year Method
|
|
year |
The year to set in dateVar. You can write code that uses one of the following values in the year argument:
- A two digit integer for a year that occurs in the twentieth century
- A four digit integer for a year that does not occur in the twentieth century
|
|