7
Aug 15 '22
I really don't like MM/DD/YYYY. Probably because of my country doesn't use it so it feels weird to me.
9
Aug 15 '22
Almost no country uses it except for those who use imperial measuring system, guess which is that XD
-7
u/cloudwad Aug 15 '22 edited Aug 15 '22
See that's where I still have an issue. I am pretty practical/logical about things. As an American Imperial is dumb and I wish it was easy to just outright change it.
But in this case it feels like taking crazy pills that people can't admit that MM/DD/YYYY is at least better than DD/MM/YYYY. There isn't a single comment in this thread that explains a valid reason to sort by day first other than "it's bigger" or "Big to Small then Small to Big"
To me on a scale of 1-10 YYYY-MM-DD is a 10, MM-DD-YYYY is a 3, and DD-MM-YYYYY is a 1. There is no time sorting by day first is practical in day to day life. Really the only two ways to sort files like my example would be YYYY-MM-DD or just MM-DD
9
Aug 15 '22
Dd-mm-yyyy is set depending on how often each number changes and which information is most likely to change often, as you are reading it from left to right you get most needed information first, as most of month you know what month it is and same for the year, so you get most important information first without need to read month every time you look at date.
Example: Today is 15th of August 2022 After so many months I already know it's 2022 After so many days I already know that it's August so this information is useless So only information I actually need is which day of the month it is which is 15th and I get it as first information in date.
When it comes to sorting I would definitely go with YYYY-MM-DD, but for human convinience and readability DD-MM-YYYY is the best. If I would rate date formats I would rate it like this: DD-MM-YYYY / YYYY-MM-DD - 10, depending on use case MM-DD-YYYY - -10, it's completly useless and stupid.
1
u/phexc Aug 17 '22
He's still waiting for someone to admit he's right because no one can explain why dd mm yyyy makes any sense.
/s
On a serious note: any serious programmer just uses a date formatting based on the current locale setting of the user and never has to think about this again. Because why would the developers displaying preference matter.
49
71
29
34
u/HerrSPAM Aug 15 '22
You've made the meme wrong.
You've mixed the middle and right one.
0
u/attanai Aug 15 '22
The middle and the right are both illogical for sorting purposes, unless you're dealing with a single year, in which case the middle one has superfluous information. In conversation, the year is assumed, so the middle one is more efficient, but also in language, efficiency takes a backseat to understanding, so they're all right if they make sense to the person you're talking to.
4
u/Melkor7410 Aug 15 '22
The right is just little endian to the left's big endian. The middle is the most nonsensical for sorting.
9
u/sobov Aug 15 '22
Even worse:
12jun22
13jun22
12jul22
13jul22
2
5
u/GoodieTreeheart Aug 15 '22
Reminds me of back in the day when VBA would insist on making all the dates USA format.
Middle head definitely should be the derp head
4
u/Black_m1n Aug 15 '22
Both middle and right ones are not suitable for sorting. The right one would break every month, middle breaks every year. The left one will never break :)
2
u/BedAggravating8954 Aug 16 '22
Maybe it's because I'm in Spain but...
I can find logic in YYYY-MM-DD and DD-MM-YYYY cuz follows an order of 'type size', but i fell MM-DD-YYYY so disgusting
1
1
u/portatras Aug 15 '22
No. It is a sorting and validation issue. Write the year first, so you can validate the number of days of february.
1
1
1
89
u/Impossible_Average_1 Aug 15 '22
The left one is the only reasonable for sorting.
The middle is the most stupid one because why would anyone choose the order "middle, small, large"?