this post was submitted on 10 Oct 2023
1267 points (95.3% liked)

Memes

45584 readers
1269 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 240 points 1 year ago (8 children)

Nothing beats ISO 8601, YYYY-MM-DD

[–] [email protected] 86 points 1 year ago (5 children)

RFC 3339! ISO 8601 has way too many weird formats that are allowed like today would be 2023-W41-2. See for example here.

[–] [email protected] 27 points 1 year ago

I feel offended - W%W-%w is my preferred way of noting down dates :D

[–] [email protected] 20 points 1 year ago (1 children)
[–] [email protected] 16 points 1 year ago

It’s really pleasing seeing the seconds all change in unison!

[–] [email protected] 17 points 1 year ago (1 children)

Great, now I need to memorize "RFC 3339", because I officially have a new favorite date format. Thank you!

[–] msage 6 points 1 year ago

Fortunately this one is easy:

three threes equals 9 3339

[–] [email protected] 4 points 1 year ago

RFC 3339 when you need the basics, ISO 8601 when you need something more niche. Some applications genuinely need to view the year as weeks and days of the week instead of months and days of the month.

[–] [email protected] 44 points 1 year ago (3 children)

YYYY-MM-DDTHH:MM:SS-00:00

THE ONE TRUE FORMAT

[–] [email protected] 5 points 1 year ago

Well, the standard provides various formats, such as YYYY-\WWW.

[–] [email protected] 2 points 1 year ago (1 children)

Does the T just signify that Time starts after it? I've never really examined the full UTC format, YYYY-MM-DD has always been enough for my uses.

[–] [email protected] 2 points 1 year ago (2 children)

The T stands for the timezone.

[–] [email protected] 2 points 1 year ago

Aaaah that makes a lot of sense.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)
[–] [email protected] 40 points 1 year ago (1 children)

I am fine with any format that puts the month between year and day.

[–] [email protected] 1 points 1 year ago

Same, but MSD->LSD is nice in general for the alphanumeric ordering

[–] [email protected] 21 points 1 year ago

This is the way.

[–] [email protected] 17 points 1 year ago

The most logical format, especially for digital files.

[–] [email protected] 14 points 1 year ago

This is the way.

Put the most significant digits first. Always.

[–] [email protected] 6 points 1 year ago

100%

  • alphabetical order = chronological order
  • unambiguous regardless of locale
  • easy to read/parse by either machine or human
[–] [email protected] 2 points 1 year ago