alt text
Comic strip of a ghost and a person with the American flag pasted on the head. The ghost repeats “Boo!” in the first three panels without getting any reaction, but when it in the fourth panel says “kg, cm, km, °C” the American gets scared and screams “AHHHH!!!”.
Edit: fixed alt text
Aaaand … DD/MM/YYYY 🫠
YYYY-MM-DD
this guy iso8601‘s
rfc3339’s
This, FTW
deleted by creator
why
deleted by creator
YYYY-MM-DD is easier to get sorted since most significant number is on the left.
Least important it may be. But it is the most significant. This scheme follows the conventional scheme we follow while writing numbers - the most significant digit to the left and significance reducing as we move right.
The advantage of YYYY-MM-DD becomes when you add time to it in ISO-8601 or RFC 3339 format: YYYY-MM-DDThh:mm:ss. All the digits are uniformly decreasing in significance from left to right.
This becomes even more apparent if you are trying to sort by time - say, a stack of files, or datetime in a computer. Try doing this with any other scheme.
As much as I vehemently dislike US customary units, MM/DD/YYYY is the USA’s greatest notation crime.
This one wouldn’t make sense as they say dates as month day, year.
To me, dates should always be written in international format: YYYY-MM-DD
$ 50
Do you call this fifty dollars, or dollar fifty?
Lots of stuff is written differently, than it is spoken. In case of the date it is weird, not to go from biggest to smallest or vice versa. I guess you are used to it now, but for me it would be the same as putting seconds before minutes or inches before feet.
Depends on context, IMO did/mm/yyyy is the most natural when writing some text, but partial ISO yyyy-mm-dd is ideal for when naming files and directories, makes lexicographical ordering follow chronological order.
Big-endian vs little-endian all over again
I personally prefer dd-mm-yyyy because cutting stuff of the end to get dd-mm or dd is better imho. Just an opinion tho, use what you like.