getDate

Gets the day-of-the-month, using local time.

MDN Reference