JavaScript getDate()
The getDate() method returns the day of a date as a number (1-31):