442
submitted 9 months ago by Stamets@lemmy.world to c/funny@lemmy.world
top 50 comments
sorted by: hot top controversial new old
[-] Habahnow@sh.itjust.works 217 points 9 months ago

YYYY-MM-DD everything else is wrong.

[-] PM_Your_Nudes_Please@lemmy.world 45 points 9 months ago

For file versioning, this is the way. So when you sort your files by name, your files sort chronologically.

[-] fidodo@lemmy.world 22 points 9 months ago

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.

[-] answersplease77@lemmy.world 18 points 9 months ago* (last edited 9 months ago)

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

load more comments (1 replies)
[-] Annoyed_Crabby@monyet.cc 203 points 9 months ago

sniff sniff

You smell that? They're coming, the ISO 8601 gang.

[-] pelya@lemmy.world 166 points 9 months ago
[-] robolemmy@lemmy.world 39 points 9 months ago

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.

[-] johannesvanderwhales@lemmy.world 36 points 9 months ago

Gotta have that good sorting

[-] phoneymouse@lemmy.world 12 points 9 months ago

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

[-] some_guy@lemmy.sdf.org 12 points 9 months ago

Anything else is madness. It’s demonstrably the only logical answer.

[-] Justas@sh.itjust.works 8 points 9 months ago

YMD is primarily used in:

China, Japan, South Korea, North Korea, Taiwan, Hungary, Mongolia, Lithuania, Bhutan, Sweden

That is one weird country group.

[-] pelya@lemmy.world 10 points 9 months ago

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.

load more comments (1 replies)
load more comments (1 replies)
[-] lemmydripzdotz123@lemmy.world 37 points 9 months ago* (last edited 9 months ago)
[-] thanks_shakey_snake@lemmy.ca 8 points 9 months ago

W E A R E I N E V I T A B L E

[-] JPJones@lemmy.world 19 points 9 months ago

You're god damn right

[-] jbk@discuss.tchncs.de 16 points 9 months ago
[-] OhmsLawn@lemmy.world 15 points 9 months ago

Hell yeah, brother!

[-] uis@lemmy.world 10 points 9 months ago
[-] mathematicalMagpie@lemm.ee 40 points 9 months ago

Always write largest to smallest. That way it can be sorted easily starting with the year, then month, then day.

[-] deegeese@sopuli.xyz 15 points 9 months ago

Or as computer people say, big-endian.

load more comments (1 replies)
[-] PR3CiSiON@lemmy.world 6 points 9 months ago

Largest to smallest? So should I write December 02, 2024 as 2024/12/02? And then February 12, 2024 as 2024/12/02?

/s

[-] PM_Your_Nudes_Please@lemmy.world 6 points 9 months ago

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.

[-] Randelung@lemmy.world 13 points 9 months ago

You misread. The second part sorts 12 before Feb because 12 > 02, making both dates identical.

[-] HeckGazer@programming.dev 27 points 9 months ago

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

[-] rickyrigatoni@lemm.ee 24 points 9 months ago
[-] Kolanaki@yiffit.net 12 points 9 months ago* (last edited 9 months ago)

2/2/0/3/0/1/2/4 <- Today's date in this obnoxious format

[-] rickyrigatoni@lemm.ee 10 points 9 months ago

Pure beauty.

load more comments (4 replies)
[-] Semi-Hemi-Demigod@kbin.social 21 points 9 months ago

Imagine not using milliseconds since Jan 1 1970 GMT

load more comments (1 replies)
[-] ummthatguy@lemmy.world 19 points 9 months ago
[-] Fudoshin@feddit.uk 7 points 9 months ago
[-] BoisZoi@lemmy.ml 8 points 9 months ago
[-] Fudoshin@feddit.uk 8 points 9 months ago

Bill Shats. Master and Commander of the Deathstar Galactica.

[-] cbarrick@lemmy.world 15 points 9 months ago

Let's add more granularity, like hours and minutes:

MM:HH DD/MM/YYYY

wait...

[-] BreadstickNinja@lemmy.world 13 points 9 months ago

Little-endian number formats are the only way to go in the year 4202.

[-] Adulated_Aspersion@lemmy.world 13 points 9 months ago

TIL that I am a member of a gang.

The ISO 8601 gang.

[-] jessca@lemmy.world 13 points 9 months ago
[-] venoft@lemmy.world 12 points 9 months ago* (last edited 9 months ago)

Back in the 2000's it was way more confusing. The appointment is on 10/09/11, when the hell is that?

[-] ammonium@lemmy.world 5 points 9 months ago

11 am on the 10th of '09. Month, millennium, century and month are free to choose by the reader.

load more comments (3 replies)
[-] rsh@lemmy.world 6 points 9 months ago
load more comments (1 replies)
[-] xia@lemmy.sdf.org 5 points 9 months ago

Logical? So if we use the same logic for money, that big mac will be $17.5

[-] blackbelt352@lemmy.world 5 points 9 months ago

I write my dates in the order I say it.

[-] dentoid@sopuli.xyz 10 points 9 months ago

Do you write half past eight as 30:8 too? ^^

load more comments (2 replies)
load more comments (2 replies)
[-] dylanTheDeveloper@lemmy.world 5 points 9 months ago

Americans once again imposing there inefficient systems onto everyone else. It goes DAY MONTH YEAR not MONTH DAY YEAR

[-] HopFlop@discuss.tchncs.de 8 points 9 months ago

It goes DAY MONTH YEAR not MONTH DAY YEAR

The meme also uses "Day Month Year", whats the issue?

load more comments (1 replies)
load more comments (13 replies)
[-] MeDuViNoX@sh.itjust.works 5 points 9 months ago

JD/YYYY (Julian Date/Year)

[-] BluesF@lemmy.world 5 points 9 months ago

Fuck you JD Edwards for making me think about leap years

[-] uis@lemmy.world 4 points 9 months ago
load more comments (3 replies)
load more comments
view more: next ›
this post was submitted on 23 Jan 2024
442 points (100.0% liked)

Funny: Home of the Haha

5616 readers
85 users here now

Welcome to /c/funny, a place for all your humorous and amusing content.

Looking for mods! Send an application to Stamets!

Our Rules:

  1. Keep it civil. We're all people here. Be respectful to one another.

  2. No sexism, racism, homophobia, transphobia or any other flavor of bigotry. I should not need to explain this one.

  3. 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:

founded 1 year ago
MODERATORS