Date setFullYear()
syntax: |
date.setFullYear(year[, month[, date]]) |
where: |
year - a four digit year.
month - a month in a year.
day - a day in a month.
|
return: |
number - time in milliseconds as set.
|
description: |
This method sets the year of a Date object to the parameter year. The parameter year is expressed with four digits.
The parameter month is the same as for Date setMonth().
The parameter day is the same as for Date setDate().
|