quarter

Returns the quarter in "date_expression" as a number (1-4), where 1 represents January 1 through March 31.

Syntax

quarter ( date_expression )