콘텐츠로 이동

날짜에서 월을 반환합니다.

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