Skip to content

Returns the quarter of the year from a date (1-4).

func.quarter(<date>)
func.quarter('2024-06-15')
┌───┐
2
└───┘
QUARTER(<date>)
SELECT QUARTER('2024-06-15');
┌───┐
2
└───┘