getFullYear()

Syntax:

getFullYear()

Return:

The current year as a four digit number.

Remarks:

This function will return the current year as a four digit number for the specified Date object.

image\Script_Button.jpgExamples