Examples
The day() function returns the day of the month in a given date.
day(date)
• date – A date or datetime value.
An integer between 1 and the maximum number of days in the month.