363
submitted 5 months ago by [email protected] to c/[email protected]
top 50 comments
sorted by: hot top controversial new old
[-] [email protected] 225 points 5 months ago

YYYY-MM-DD everything else is wrong.

[-] [email protected] 48 points 5 months ago

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

[-] [email protected] 21 points 5 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.

[-] [email protected] 18 points 5 months ago* (last edited 5 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)
[-] [email protected] 206 points 5 months ago

sniff sniff

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

[-] [email protected] 167 points 5 months ago
[-] [email protected] 40 points 5 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.

[-] [email protected] 37 points 5 months ago

Gotta have that good sorting

[-] [email protected] 12 points 5 months ago

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

[-] [email protected] 11 points 5 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

[-] [email protected] 6 points 5 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.

[-] [email protected] 9 points 5 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)
[-] [email protected] 39 points 5 months ago* (last edited 5 months ago)
[-] [email protected] 8 points 5 months ago

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

[-] [email protected] 20 points 5 months ago

You're god damn right

[-] [email protected] 17 points 5 months ago
[-] [email protected] 16 points 5 months ago

Hell yeah, brother!

[-] [email protected] 71 points 5 months ago
[-] [email protected] 23 points 5 months ago

I prefer RFC 3339. It allows you to omit the "T" for example. Like this: 1985-04-12 23:20:50Z

[-] [email protected] 11 points 5 months ago

Either is preferable to the abomination in the meme.

load more comments (1 replies)
[-] [email protected] 6 points 5 months ago

Today is 2024, January 24.

It looks perfect. Although my only concern is if we should use the preposition "in" (since the year comes first: "in 2024") or "on" (because we say "on January 24").

load more comments (3 replies)
[-] [email protected] 44 points 5 months ago

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

[-] [email protected] 16 points 5 months ago

Or as computer people say, big-endian.

load more comments (1 replies)
[-] [email protected] 7 points 5 months ago

We should all just write it in ISO 8601

[-] [email protected] 5 points 5 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

load more comments (2 replies)
load more comments (1 replies)
[-] [email protected] 29 points 5 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

[-] [email protected] 24 points 5 months ago
[-] [email protected] 12 points 5 months ago* (last edited 5 months ago)

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

[-] [email protected] 10 points 5 months ago

Pure beauty.

load more comments (4 replies)
[-] [email protected] 23 points 5 months ago

Imagine not using milliseconds since Jan 1 1970 GMT

load more comments (1 replies)
[-] [email protected] 20 points 5 months ago
[-] [email protected] 7 points 5 months ago
[-] [email protected] 8 points 5 months ago
[-] [email protected] 8 points 5 months ago

Bill Shats. Master and Commander of the Deathstar Galactica.

[-] [email protected] 14 points 5 months ago* (last edited 5 months ago)

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

[-] [email protected] 5 points 5 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)
[-] [email protected] 14 points 5 months ago
[-] [email protected] 14 points 5 months ago

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

MM:HH DD/MM/YYYY

wait...

[-] [email protected] 13 points 5 months ago

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

[-] [email protected] 13 points 5 months ago

TIL that I am a member of a gang.

The ISO 8601 gang.

[-] [email protected] 5 points 5 months ago

JD/YYYY (Julian Date/Year)

[-] [email protected] 5 points 5 months ago

Fuck you JD Edwards for making me think about leap years

load more comments
view more: next ›
this post was submitted on 23 Jan 2024
363 points (84.1% liked)

Funny: Home of the Haha

4933 readers
952 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