this post was submitted on 22 Nov 2023
1035 points (95.9% liked)

Memes

45569 readers
1784 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
 
top 50 comments
sorted by: hot top controversial new old
[–] pelya@lemmy.world 550 points 11 months ago (24 children)

YYYY-MM-DD is the only acceptable date format, as commanded by ISO 8601.

[–] clif@lemmy.world 89 points 11 months ago

"There shall be no other date formats before ISO8601. Remember this format and keep it as the system default"

[–] Wes_Dev@lemmy.ml 57 points 11 months ago

Largest to smallest unit of time. It just makes sense.

[–] cryptix@discuss.tchncs.de 50 points 11 months ago

Sorting by date would be so much better with yyyymmdd .

[–] vale@sh.itjust.works 37 points 11 months ago (4 children)

ISO 8601, while great, has too many formats. May I introduce RFC 3339 instead?

https://ijmacd.github.io/rfc3339-iso8601/

load more comments (4 replies)
[–] Empricorn@feddit.nl 25 points 11 months ago (1 children)

If you have years of files named similarly with the date, you will love the ISO standard and how it keeps things sorted and easy to read.

[–] Agent641@lemmy.world 20 points 11 months ago* (last edited 11 months ago) (7 children)

I have autohotkey configured to insert the current date in ISO 8601 format into my filenames on keyboard shortcut for just this reason. So organized. So pure.

load more comments (7 replies)
[–] Remavas@programming.dev 23 points 11 months ago* (last edited 11 months ago) (9 children)

Glad I can count my own country, Lithuania, among the enlightened.

EDIT: Source of the picture: https://en.m.wikipedia.org/wiki/File:Date_format_by_country_NEW.svg

load more comments (9 replies)
[–] TrismegistusMx@slrpnk.net 17 points 11 months ago (8 children)
[–] umbraroze@kbin.social 21 points 11 months ago

Funny thing, in ISO 8601 date isn't separated by colon. The format is "YYYY-MM-DDTHH:MM:SS+hh:mm". Date is separated by "-", time is separated by ":", date and time are separated by "T" (which is the bit that a lot of people miss). Time zone indicator can also be just "Z" for UTC. Many of these can be omitted if dealing with lesser precision (e.g. HH:MM is a valid timestamp, YYYY-MM is a valid datestamp if referring to just a month). (OK so apparently if you really want to split hairs, timestamps are supposed to be THH:MM etc. Now that's a thing I've never seen anyone use.) Separators can also be omitted though that's apparently not recommended if quick human legibility is of concern. There's also YYYY-Wxx for week numbers.

[–] Ravi@feddit.de 15 points 11 months ago (1 children)
load more comments (1 replies)
load more comments (6 replies)
load more comments (17 replies)
[–] ProvokedGamer@lemmy.ca 109 points 11 months ago (12 children)

DD/MM/YY and YY/MM/DD are the only acceptable ones IMO. Throwing a DD in between YY and MM is just weird since days move by faster so they should be at one of the ends and since YY moves the slowest it should be on the other end.

[–] bzarb8ni@lemm.ee 34 points 11 months ago (3 children)

I'm not kidding when I ask: are there really a lot of people using MM/DD/YYYY??

[–] jwhardcastle@dmv.social 111 points 11 months ago (4 children)

Almost 350 million of us morons down south of you.

load more comments (4 replies)
[–] CM400@lemmy.world 33 points 11 months ago (1 children)

I think most Americans do. Or at least it was taught that way in school when I was growing up. Maybe it’s because of the way we speak dates, like “October 23rd” or “May 9th, 2005”.

Regardless, the only true way to write dates is YYYY-MM-DD.

load more comments (1 replies)
[–] clif@lemmy.world 18 points 11 months ago

Pretty much every American I've ever met. Dates on drivers license, bank info, etc - all in MM/DD/YYYY ... or even just MM/DD/YY

I regularly confuse people with YYYY-MM-DD

load more comments (11 replies)
[–] TheImpressiveX@lemmy.ml 104 points 11 months ago (7 children)

ISO 8601 format is the best (YYYY-MM-DD).

[–] jzb@lemmy.ml 22 points 11 months ago (4 children)

Came here to say this. I try to name all my docs in the YYYY-MM-DD-descriptive-name.ext format.

load more comments (4 replies)
load more comments (6 replies)
[–] DeadMartyr@lemmy.zip 100 points 11 months ago (4 children)

YYYY-MM-DD (honestly without dashes) is the only helpful format.

If you name all your files with this as a suffix then your files automatically sort versions of themselves in order when sorting by name.

[–] starman2112@sh.itjust.works 31 points 11 months ago

ISO 8601 baby

Though it ought to be a prefix, not a suffix

[–] numanair@lemmy.ml 25 points 11 months ago (2 children)

You mean as a prefix, right?

load more comments (2 replies)
[–] CapeWearingAeroplane@sopuli.xyz 15 points 11 months ago

Came here to say this, I use DD.MM.YY in day-to-day stuff, but for files it's either YYYY_MM_DD or YY_MM_DD, the automatic ordering is beautiful

load more comments (1 replies)
[–] LordKitsuna@lemmy.world 75 points 11 months ago
[–] Hovenko@iusearchlinux.fyi 53 points 11 months ago (11 children)

MMDDYY is just a mess. Otherwise… US problems, I don’t care…

load more comments (11 replies)
[–] darkbaron202@lemmy.world 48 points 11 months ago (1 children)

It actually makes sense when you put YYYY/MM/DD in filenames as they will be sorted pretty neat (ex: reports)

load more comments (1 replies)
[–] bitwolf@lemmy.one 47 points 11 months ago (6 children)

It is arguably the best way to name large sets of indexed files on a filesystem.

[–] dQw4w9WgXcQ@lemm.ee 25 points 11 months ago

I think that the best argument is that it makes sense when combined with hours minutes and seconds.

yyyy/MM/dd hh:mm:ss

Goes from large to small units.

load more comments (5 replies)
[–] Gabu@lemmy.world 47 points 11 months ago (11 children)

This meme implies there's an equal battle between MM/DD/YY and DD/MM/YY, which is nonsense. Much like imperial units, only 'murica uses MM/DD/YY.

load more comments (11 replies)
[–] disconnectikacio@lemmy.world 45 points 11 months ago (13 children)

YYYY-MM-DD in Hungary too, that us shit is totally non logical, i cant get used to it

load more comments (13 replies)
[–] deadcatbounce@reddthat.com 41 points 11 months ago (1 children)

When you're naming a file, you can't use anything else.

[–] LemmyKnowsBest@lemmy.world 16 points 11 months ago

You're not wrong. through much trial and error in the 1990s I learned this was the most efficient & accurate & chronologically searchable way to date things.

[–] baatliwala@lemmy.world 39 points 11 months ago

YYYY-MM-DD for everything digital, DD-MM-YYYY for everything IRL.

[–] Goldmaster@lemmy.ml 38 points 11 months ago (2 children)

Iso date format. Anything to do with photos is best to have in this format at the start of the filename.

load more comments (2 replies)
[–] lemmiter@lemm.ee 38 points 11 months ago (4 children)

I propose the use of MYDYDM format. So, October 15, 2023 will be written as 121350. Just to make it as confusing as possible.

[–] CouncilOfFriends@slrpnk.net 14 points 11 months ago

And then convert that to hexadecimal, making it 1DA06

load more comments (3 replies)
[–] UserNotFound@lemmy.world 33 points 11 months ago (9 children)

YYYY-MM-DD for files, DD-MM-YYYY for normal use

load more comments (9 replies)
[–] Engywuck@lemm.ee 32 points 11 months ago (2 children)

TBH, Japanese format makes sense when you use it to name files/directories, as sorting by "name" is equivalenti to sorting by "last modified".

[–] dtrain@lemmy.world 25 points 11 months ago (2 children)

equivalenti

Love typos that force me to read comments with an Italian accent

load more comments (2 replies)
load more comments (1 replies)
[–] AlboTheGuy@feddit.nl 28 points 11 months ago (6 children)

Japan I can get behind but MM/dd/yyyy is just evil, why would you sandwich days between months and years? You monster

load more comments (6 replies)
[–] ZILtoid1991@kbin.social 27 points 11 months ago (6 children)
load more comments (6 replies)
[–] Lucidlethargy@sh.itjust.works 26 points 11 months ago

Japan wins this one.

[–] kamen@lemmy.world 24 points 11 months ago (6 children)

DD/MM for readability, YYYY/MM/DD for alphabetical sorting that's also chronological.

load more comments (6 replies)
[–] hungryphrog@lemmy.blahaj.zone 21 points 11 months ago (1 children)
[–] Crackhappy@lemmy.world 46 points 11 months ago (3 children)
[–] hungryphrog@lemmy.blahaj.zone 15 points 11 months ago (1 children)

I'll fuck of when it's 2024/22/11.

load more comments (1 replies)
load more comments (2 replies)
load more comments
view more: next ›