setUTCFullYear()

Syntax:

setUTCFullYear( 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 adjusted to UTC (universal time).

image\Script_Button.jpgExamples