day

Returns the day of the month (1-31) from "date_expression". "Date_expression" can be a date value or a string representation of a date.

Syntax

day ( date_expression )

Example

day ( '1998-01-08' )

Result

Returns 8.