oh yeah. There are numerous benefits to the format itself, outside the question of hyphens vs slashes.
I find the sortability quite satisfying, but also as somebody living in the US, I also like that it’s unambiguous regardless of my audience. Hell, half the time I see people hand-write a date on something they don’t even use a year.
There are also variants with single dots too. I sometimes do timestamps without any separator too, depending on the context (such as file backups): YYYYMMDD in example 20260805.
I actually used to do single dots in my own file/folder names. It’s probably my favorite way visually, since it’s a minimal separator and as you showed it works without a separator at all.
YYYY-MM-DDISO 8601 my beloved
YYYY-mm-ddTHH:MM:SS±zzzz
deleted by creator
In fact the Linux date command even has an iso flag:
date --iso-8601Yep 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
oh yeah. There are numerous benefits to the format itself, outside the question of hyphens vs slashes.
I find the sortability quite satisfying, but also as somebody living in the US, I also like that it’s unambiguous regardless of my audience. Hell, half the time I see people hand-write a date on something they don’t even use a year.
There are also variants with single dots too. I sometimes do timestamps without any separator too, depending on the context (such as file backups):
YYYYMMDDin example 20260805.I actually used to do single dots in my own file/folder names. It’s probably my favorite way visually, since it’s a minimal separator and as you showed it works without a separator at all.