How do I get the day of the month in javascript?
Use date_object
.getDate()
to get the month day.
From the MDN docs link:
"Returns the day of the month for the specified date according to local time."
Try getDate() instead. Confusing naming, but that's life...