CLDR Q
Quarter.
1
at the reference instant, Mon, Jan 2 2006, 3:04:05 PM MST
The quarter 1–4 (Q1 for January). A CLDR-family field — strftime, Go and PHP have no quarter token at all, an honest gap worth knowing before reaching for a reporting format.
| Language | Token | Caveat |
|---|---|---|
| CLDR / ICU pattern | Q | QQ pads, QQQ gives Q3, QQQQ 3rd quarter; q is the stand-alone form. |
| Java DateTimeFormatter | Q | QQQ gives Q3, QQQQ '3rd quarter'; q is the stand-alone form. |
| Moment.js format | Q | Qo gives the ordinal form (1st, 2nd). |
| Rust chrono | %q | Single digit, 1–4. |
Definition anchored to Unicode UTS #35 — Date Field Symbol Table.