@RedWeasel@lemmy.world
link
fedilink
English
139h

The perfect date is YYYY/MM/DD. US and every where else conflict with DD/MM/YYYY & MM/DD/YYYY.

Path separators in my date strings? Hell no!

Sanitize your inputs. Become delimiter agnostic!

I control the date format, why would I choose something that requires additional logic to handle?

RedWeasel loaded slashes into your stream today though.

This is a discussion about choice of date format, not choice of date parser.

Why do some people insist on doing big-endian dates? Little-endian (YYYY-MM-DD) is trivially alphanumerically sortable. Also, it’s part of the goddamn ISO standard for standardized date format.

Which is why the guy in the comic will “die single”.

You’ve got your endians mixed up. Big-endian means the most significant value comes first. ISO8601 is big-endian.

👍Maximum Derek👍
link
fedilink
English
98h

Unix epoch time. It has a cool name and I get to pretend its a Star Date.

Are we on schedule to solve the 2038 problem in time?

davel [he/him]
link
fedilink
English
339h

ISO-8601 / RFC-3339 is clearly superior, but at least DD/MM/YYYY has a rational ordering, unlike MM/DD/YYYY.

I, too, am an 8601 enthusiast. Stupid America means we need to go y-m-d for date ordering to not be ambiguous.

Dont know if it’s true or not, but I always assumed it was because the numbers get bigger left to right. Only 12 months, 30ish days, thousands of years.

davel [he/him]
link
fedilink
English
78h

My guess is it’s because that’s the order in which we usually say dates in English: September twentieth, twenty-twenty-four.

yyyy.MM.dd

Gamma
link
fedilink
English
349h

Good taste, YYYY-MM-DD is obviously superior

I too agree with the woman

chi-chan~
link
fedilink
1009h

yyyy-mm-dd and confusion no more.

This. On top of being obvious at a glance, your file names and folder names sort nicely if use this format.

snooggums
link
fedilink
English
158h

Until Y10k rears its ugly head.

Why is no one talking about this??? Ostriches in the sand…

Cyborganism
link
fedilink
88h

ISO 8601

SSTF
link
fedilink
59h

09/12_20/30_2024/inf

lol this is so cursed, I love it.

Now include time, with tz offsets

Create a post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 120 users / day
  • 257 users / week
  • 744 users / month
  • 3.72K users / 6 months
  • 1 subscriber
  • 1.49K Posts
  • 32.8K Comments
  • Modlog