setFullYear()

Syntax:

setFullYear( Year )

Parameters:

Year – must be a four-digit integer or a variable containing a four digit integer. Year can be any year after 1970. This parameter is required.

Remarks:

This function will set the year for the specified Date object.

image\Script_Button.jpgExamples