Sets the day of the month for a specified date according to local time.
Method of Date
Syntax
setDate(dayValue )
Parameters
Parameter | Description |
---|---|
dayValue | An integer from 1 to 31, representing the day of the month. |
Examples
The second statement below changes the day for theBigDay to July 24 from its original value.