DB
FunctionsDate & Time

to_quarter

Extracts the quarter of year (1..4) from the input date or timestamp.

to_quarter(…) → Int64

Kind · scalar

Extracts the quarter of year (1..4) from the input date or timestamp.

Part of the Date & Time family.