ISO 8601
post
FAIL
yyyy-mm-dd
ISO 8601!
Yep. Doing that joke and landing on anything but ISO-8601 would be a huge red flag for me.
Being able to sort numerically and have it also be in chronological order is sooo cool.
YYYY-MM-DD
Yep and it needs to use hyphens and not slashes. It helps avoid missed typos or mis-reads in some situations, especially if hand-written.
and it's perfectly sortable
I read this meme and was physically revolted and wanted to immediately down vote. Great job.
The superior date format is, of course, ISO 8601. YYYY-MM-DD.
RFC3339 is better than ISO8601 since it doesn't allow some of the esoteric formats, and allows some useful formats that ISO8601 doesn't (like separating date and time by a space instead of by T)
For example, 2026-W32-1 is also a valid ISO8601 date: Monday on the 32nd week of 2026. That format isn't allowed with RFC3339.
yyyy/mm/dd, it's less ambiguous and it sorts nicely
Edit: so many replies suggesting using a hyphen as a separator, I'd like to compromise by using the oblique angle sign (⦧) which looks like a slash that becomes a hyphen in the middle. yyyy⦧mm⦧dd
nerd detected
Beat me to it, except I’d do yyyy-mm-dd because some OSes throw fits about having slashes in file names. Way better than the “Group Project-final FINAL v3 PAUL USE THIS ONE.file” versioning system that people seem to use.
Ew.
yyyymmdd
I feel like DD/MM/YYYY is the same as doing: ss:mm:HH and I find that confusing.
That's a red flag... He has obviously not received the xkcd PSA.
YYYYMMDDHHMMSS
Please use any kind of separation character or I'm gonna lose my mind
Best I can give you is a single "_"
202609041006_15
Anyone who wants to write the millennium between the month and century loses all credibility when arguing about date formats.
YYYY-MM-DD is the only coherent date format.
ITT: people saying one thing is better than any other without thinking of context.
If I want to know today's date ISO 8601 isn't a good answer. And if I put stuff in folders by date then DD-MM-YYYY is a real bad way to do it.
But MM-DD-YYYY is the worst one no matter the context.
I like YYYY-MM-DD because then I don't have to figure out half the time if they used MM-DD-YYYY or if they were sane.
I proper shit post would have suggested “mm/dd/yyyy”.
Months are stupid anyway, lets drop them and swap for what they were supposed to represent instead: the moon phase, so today would be 216-2026-Waning Gibbous
I prefer ddd/yyyy, much simpler
Ah yes, Mon/2026, perfect…
ISO 8601 RFC 3339 (yyyy-mm-dd) for storing dates in software. Any format that that goes in the order of day, month, and year for conversational/presentational purposes, preferable the format is dynamic depending on the user's locale (even for those that want the month first). There now everyone is happy.
Edit: switched to RFC 3339 since it is a subset of ISO 8601 that is more strict, and I love semantics.
I'm a YYYY/MM/DD man myself
1785793853 seconds since Linux epoch

top 50 comments