SWiSH Player Support
SWF5 or later - Supported Internally
Syntax
DateObj.getFullYear()
Arguments
none
Returns
an integer
Description
Method; returns an integer (a four-digit number) representing the full year of the Date Object according to Local Time.
Sample
onFrame (1) {
theDate = new Date();
trace(theDate.getFullYear());
}
// If it is 2003 on your system clock - "2003" will be returned in the debug window.