Logical? So if we use the same logic for money, that big mac will be $17.5
JD/YYYY (Julian Date/Year)
Always write largest to smallest. That way it can be sorted easily starting with the year, then month, then day.
Or as computer people say, big-endian.
TIL that I am a member of a gang.
The ISO 8601 gang.
Imagine not using milliseconds since Jan 1 1970 GMT
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.
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
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.
sniff sniff
You smell that? They’re coming, the ISO 8601 gang.
Fuck yeah
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.
Anything else is madness. It’s demonstrably the only logical answer.
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
YMD is primarily used in:
China, Japan, South Korea, North Korea, Taiwan, Hungary, Mongolia, Lithuania, Bhutan, Sweden
That is one weird country group.
Gotta have that good sorting
The only way…
D/Y/M/D/Y/M/Y/Y
looks better when you remove the slashes
2/2/0/3/0/1/2/4 <- Today’s date in this obnoxious format
Pure beauty.
ISO-8601 or bust.
I prefer RFC 3339. It allows you to omit the “T” for example. Like this: 1985-04-12 23:20:50Z
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