Date.setDate()
Sets the day of the month of a date object.
The setDate() method sets the day of the Date object relative to the beginning of the currently set month.
Syntax
Parameters
dayValue
An integer representing the day of the month.
Return value
Description
Examples
Using setDate()
setDate()
References
Contributors to this page
Uros Durdevic
Last updated