I started down this rabbit hole on vacation. It was pouring all day, the kind of heavy rain that keeps you indoors with a laptop and nothing else to do.
I grew up on MM/DD/YYYY, but after ten years of using YYYY-MM-DD at work, I can’t go back. Big-endian dates just work. Alphabetical order is chronological order, and you never have to guess whether 04/05/2026 is April 5th or May 4th.
With the rain not letting up, I got curious: how many official standards, RFCs, national formats, databases, and programming languages actually use YYYY-MM-DD (or YYYYMMDD)?
Down the Rabbit Hole
What started as a quick list turned into a proper catalog. Digging into the history and edge cases of how different systems represent a calendar date was more fun than I expected. A few things that stood out:
- Before ISO 8601: Prior to
ISO 8601:1988, there wasISO/R 2014:1971andISO 2014:1976. Those actually allowed spaces (2026 11 26) before ISO 8601 dropped them. - ANSI INCITS 30-1997: Maps to ISO 8601’s basic format (
YYYYMMDD), not the hyphenated one. - YAML 1.2: The Core Schema quietly dropped the built-in
!!timestamptag from YAML 1.1, so an unquoted2026-11-26is just a plain string in strict 1.2. - Unicode LDML / ICU: Writing
YYYY-MM-DDhere is a bug (YYYYis week-based year,DDis day of year). The actual calendar pattern isyyyy-MM-dd. - Raku: Has a built-in
Datemethod literally named.yyyy-mm-dd. - The Y10K boundary: Four-digit
YYYY-MM-DDsorts cleanly all the way through9999-12-31. After that, ISO 8601 requires expanded-year syntax (+10000-01-01).
Approved, Tolerated, and Crime
Once the list passed a hundred big-endian formats, I decided to include all of them: ordinal dates (2026-330), ISO week dates (2026-W48-4), email and HTTP headers, national formats, and numeric counters like Unix Epoch and Excel’s 1900 serial date.
Each entry is tracked on two things: strict ISO 8601-1:2019 compliance (true or false), and a Verdict:
- Approved (124): Strictly ISO 8601-1:2019 compliant (
YYYY-MM-DD,YYYYMMDD,YYYY-DDD,YYYY-Www-D). - Tolerated (11): Not strictly ISO 8601, but still big-endian (
2026.11.26in CalVer/SAS,2026/11/26in customary Japanese and Taiwanese notation,2026:11:26in EXIF,2026_11_26in filenames). - Crime (21): Ambiguous slash and dot formats (
MM/DD/YYYY,DD/MM/YYYY), non-sortable English-month headers (Thu, 26 Nov 2026in RFC 5322/HTTP,asctime()), two-digit year traps (YY-MM-DD, OracleDD-MON-RR, COBOLYYDDD), and opaque integers (1795651200,46352).
The Dataset
The full 156-entry dataset is up on GitHub and served here as raw JSON, with descriptions, 2026-11-26 examples, compliance flags, verdicts, and links to the upstream specs.
- GitHub: github.com/ahze/yyyymmdd
- Raw JSON: date-standards.json
If you find a missing format, open a PR on ahze/yyyymmdd, or email me at mmddyyyy@ahze.net (fair warning: that inbox is sorted alphabetically).
| Standard | Format / Example | ISO 8601 | Verdict | Reference |
|---|