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

Memes

45187 readers
1429 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] 241 points 11 months ago (8 children)

Nothing beats ISO 8601, YYYY-MM-DD

[–] [email protected] 86 points 11 months 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 11 months ago

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

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

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

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

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

[–] [email protected] 6 points 11 months ago

Fortunately this one is easy:

three threes equals 9 3339

[–] [email protected] 4 points 11 months 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 11 months ago (3 children)

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

THE ONE TRUE FORMAT

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

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

[–] [email protected] 2 points 11 months 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 11 months ago (2 children)

The T stands for the timezone.

[–] [email protected] 2 points 11 months ago

Aaaah that makes a lot of sense.

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

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

[–] [email protected] 1 points 11 months ago

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

[–] [email protected] 21 points 11 months ago

This is the way.

[–] [email protected] 17 points 11 months ago

The most logical format, especially for digital files.

[–] [email protected] 14 points 11 months ago

This is the way.

Put the most significant digits first. Always.

[–] [email protected] 6 points 11 months ago

100%

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