setDate()

Syntax:

setDate( Date )

Parameters:

Date – an an integer or a variable containing an integer. x can be positive or negative. This function will set the day of the month from the start of the month. If the value is negative, it will subtract from the start of the month into the previous month and if it is greater than the number of days in the month, it will overflow into the next month. This parameter is required.

Remarks:

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

image\Script_Button.jpgExamples