YYYY-MM-DD everything else is wrong.
For file versioning, this is the way. So when you sort your files by name, your files sort chronologically.
It's also the most relevant information first. I don't care about what day it is if I don't know what month it's in. If it's an unambiguous context they can just be omitted.
Not only that. Processing logs with DD/MM/YYYY in many systems will result in octal base error because of the leading 0 in dates such as 07 08 09, and don't let me talk about how some languages read the back slash / ... pukes in shell
sniff sniff
You smell that? They're coming, the ISO 8601 gang.
YYYY-MM-DD OR DEATH
Easily proved to be the best: in every time travel story, the time traveler asks for the date. The unsuspecting drone always responds with DD or MM-DD, and the protagonist has to shout at them “NO! WHAT YEAR IS IT?”
Always start with YYYY.
I rest my case.
Gotta have that good sorting
DD is day in year, I think dd is what you mean. Also, YYYY is week year, so better to use yyyy.
yyyy-MM-dd
Anything else is madness. It’s demonstrably the only logical answer.
YMD is primarily used in:
China, Japan, South Korea, North Korea, Taiwan, Hungary, Mongolia, Lithuania, Bhutan, Sweden
That is one weird country group.
China and Japan switched from their old calendar system, which was using the start of their current emperor inauguration as the first year, reset with each new emperor.
So I guess it was easier to choose the only correct date format.
W E A R E H E R E
W E A R E I N E V I T A B L E
You're god damn right
Fuck yeah
Hell yeah, brother!
Always write largest to smallest. That way it can be sorted easily starting with the year, then month, then day.
Largest to smallest? So should I write December 02, 2024 as 2024/12/02? And then February 12, 2024 as 2024/12/02?
/s
Unironically yes, because it makes it easy to sort by date.
When you sort by name, the year will get sorted first, then the month, then the day. So it’ll sort like this:
2021-05-19
2021-07-23
2023–06-20
Notice that everything is sorted chronologically. But if you do MM-DD-YYYY then you get this instead:
05-19-2021
06-20-2023
07-23-2021
Notice that the 2023 date is between the two 2021 dates. This is even worse if you do DD-MM-YYYY, because now the first number is changing constantly. It may not be a problem with only three dates, but imagine a spreadsheet with 2000+ entries, or a folder with dozens of files archived by date, to allow for potential rollbacks, versioning, etc…
There’s a reason ISO standards for timestamps list things big to small: YYYY-MM-DD hh:mm:ss in that specific order every time.
You misread. The second part sorts 12 before Feb because 12 > 02, making both dates identical.
I bet you write your time as ss:mm:hh you silly little guy, you small to large clown you. Break up with him babe, you can do better
D/Y/M/D/Y/M/Y/Y
2/2/0/3/0/1/2/4 <- Today's date in this obnoxious format
Pure beauty.
Is that Kirk?
Yep; William Shatner.
Bill Shats. Master and Commander of the Deathstar Galactica.
Let's add more granularity, like hours and minutes:
MM:HH DD/MM/YYYY
wait...
Little-endian number formats are the only way to go in the year 4202.
TIL that I am a member of a gang.
The ISO 8601 gang.
dump him
Back in the 2000's it was way more confusing. The appointment is on 10/09/11, when the hell is that?
11 am on the 10th of '09. Month, millennium, century and month are free to choose by the reader.
Logical? So if we use the same logic for money, that big mac will be $17.5
Americans once again imposing there inefficient systems onto everyone else. It goes DAY MONTH YEAR not MONTH DAY YEAR
It goes DAY MONTH YEAR not MONTH DAY YEAR
The meme also uses "Day Month Year", whats the issue?
JD/YYYY (Julian Date/Year)
Fuck you JD Edwards for making me think about leap years
Funny: Home of the Haha
Welcome to /c/funny, a place for all your humorous and amusing content.
Looking for mods! Send an application to Stamets!
Our Rules:
-
Keep it civil. We're all people here. Be respectful to one another.
-
No sexism, racism, homophobia, transphobia or any other flavor of bigotry. I should not need to explain this one.
-
Try not to repost anything posted within the past month. Beyond that, go for it. Not everyone is on every site all the time.
Other Communities:
-
/c/TenForward@lemmy.world - Star Trek chat, memes and shitposts
-
/c/Memes@lemmy.world - General memes