Hacker News new | ask | show | jobs
by s_gourichon 2659 days ago
Yes. ISO chooses year-month-day, which puts largest component first and smallest last. This has the nice benefit that treating it as a string and doing alphanumerical sort matches the actual day sort. Ref. https://en.wikipedia.org/wiki/ISO_8601
2 comments

The main benefit of Y-M-D, is that no-one uses Y-D-M, and the 'Y' component is easily recognisable. So if you use Y-M-D, then everyone knows it's Y-M-D and there is no ambiguity.
I found out recently the x509/tls certa are YYMMDD

200122

For example. Amazing.

There are benefits to both little endian and big endian
Yes, but the US uses middle endian.