The token matrix.

Every field, every language, one table — a blank cell is an honest gap, not an omission.

/
FieldExampleC / POSIXC# custom formatCLDR / ICU patternGo time layoutJavaIntl.DateTimeFormatMoment.js formatPHP date()PythonRubyRust chrono
EraAD—gG—Gera: "short"—————
Four-digit year2006%Yyyyyy2006uuuuyear: "numeric"YYYYY%Y%Y%Y
Two-digit year06%yyyyy06uuyear: "2-digit"YYy%y%y%y
ISO week-based year2006%G—Y—YYYY—GGGGo%G%G%G
Quarter1——Q—Q—Q———%q
Month number1—MM1Mmonth: "numeric"Mn—%-m—
Month number, padded01%mMMMM01MMmonth: "2-digit"MMm%m%m%m
Month name, abbreviatedJan%bMMMMMMJanMMMmonth: "short"MMMM%b%b%b
Month name, fullJanuary%BMMMMMMMMJanuaryMMMMmonth: "long"MMMMF%B%B%B
Week of year1%V—w—w—WW%V%V%V
Day of month2—dd2dday: "numeric"Dj—%-d—
Day of month, padded02%ddddd02ddday: "2-digit"DDd%d%d%d
Day of year2%j—D002D—DDD—%j%j%j
Weekday, abbreviatedMon%adddEMonEEEweekday: "short"dddD%a%a%a
Weekday, fullMonday%AddddEEEEMondayEEEEweekday: "long"ddddl%A%A%A
Hour, 24-hour clock15—HH—Hhour: "numeric", hourCycle: "h23"HG———
Hour, 24-hour clock, padded15%HHHHH15HHhour: "2-digit", hourCycle: "h23"HHH%H%H%H
Hour, 12-hour clock3—hh3hhour: "numeric", hour12: truehg———
Hour, 12-hour clock, padded03%Ihhhh03hhhour: "2-digit", hour12: truehhh%I%I%I
AM/PM markerPM%pttaPMa—AA%p%p%p
Minute, padded04%Mmmmm04mmminute: "2-digit"mmi%M%M%M
Second, padded05%Sssss05sssecond: "2-digit"sss%S%S%S
Fractional seconds000—fffS.000SSSfractionalSecondDigits: 3SSSv%f%L%.3f
UTC offset, basic-0700%z—xx-0700Z—ZZO%z%z%z
UTC offset, extended-07:00—zzzxxx-07:00xxxtimeZoneName: "longOffset"ZP%:z%:z%:z
Time-zone name, shortMST%Z—zMSTztimeZoneName: "short"—T%Z%Z%Z
Unix timestamp1136239445——————XU—%s%s

Dotted tokens carry a caveat — open the field's page for it · examples render Mon, Jan 2 2006, 3:04:05 PM MST.