dayofmonth

Returns the day of the month (1-31) from "date_expression". Returns the days field (a signed integer) from "interval_expression".

Syntax

dayofmonth ( date_expression|interval_expression )