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]])

The following table describes the arguments for the Set Full Year method.

Argument Description

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.