setFullYear()
Top  Previous  Next


SWiSH Player Support
SWF5 or later - Supported Internally

Syntax
DateObj.setFullYear(year {,month{,date}})

Arguments
year: This is a four-digit number used to specify the year.
month:
This is a number from 0 to 11 used to represent the month (0 being January, 1 being February, etc.) This is an optional argument.
date:
This is a number from 1 to 31 used to represent the day of the month. This is an optional argument.

Returns
an integer

Description
Method; this method sets the year for the Date Object specified. All arguments (year, month, date) are set according to Local Time.