DAY Function

The DAY function takes a DATE or DATETIME argument and returns the day of the month as an integer in the range from 1 to the number of days in the current month.

The following statement fragment calls the DAY function with the CURRENT function as its argument to compare order_date column values to the current day of the month:
WHERE DAY(order_date) > DAY(CURRENT)