Course
Simulator
More
Premium
Log in
SQL Function Reference
Functions
MONTH
MONTH
Returns the numeric value of the month of the year (from 1 to 12) for a date
MySQL
MONTH
(
datetime
)
Examples
MySQL
SELECT
MONTH
(
"2022-06-16"
)
;