Course
Simulator
More
Premium
Log in
SQL Function Reference
Functions
DAY
DAY
Returns returns the ordinal number of the day in the month (from 1 to 31)
MySQL
DAY
(
datetime
)
Examples
MySQL
SELECT
DAY
(
"2022-06-16"
)
;