Run ❯
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
JavaScript Dates
The getDate() Method
getDate() returns the day of the month (from 1 to 31) of a date: