Trace(date.getFullYear()... > how to show O N L Y the year?

trace(date.getFullYear()… > how to show O N L Y the year ? ?

I´ve found this on the action script dictionary :


var date:Date = new Date();
trace(date.getYear()); // displays 104
trace(date.getFullYear()); // displays current year

var date is shown by means a dynamic txt , variable = date ;
week day , month , date , local hour and GMT , and finally
what I am actually interested : the four digits format year : 2005 ,
are exhibited ;
what it has to be added to the code to show nothing but year ?
Thank you