setMonth()

Syntax:

setMonth( Month )

Parameters:

Month – an integer or a variable containing an integer. x can be positive or negative. The set month can be greater or less than 12. For example, if the current month is January and x is set to 12, the month will be set to January of the next year, while setting x to 13 would set the month to February of the next year. This parameter is required.

Remarks:

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

image\Script_Button.jpgExamples