Skip to content

Returns the month from a date.

func.month(<date>)
func.month('2024-06-15')
┌───┐
6
└───┘
MONTH(<date>)
SELECT MONTH('2024-06-15');
┌───┐
6
└───┘