$quarter
The$quarter operator extracts the quarter of the year from a date object (0-3).
Input
- A single date object
Output
- The quarter of the year as an integer (0-3, where 0 is Q1)
Examples
Extract Quarter from Date
1 (Second quarter, 0-indexed as 1)

