SQL Function Reference

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");