Run ❯
Get your
own
website
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
JavaScript Dates
The setDate() Method
setDate() sets the day of the month of a date.