I'm definitely in the "for almost everything" camp. It's less ambiguous especially when you consider the DD/MM vs MM/DD nonsense between US dates vs elsewhere. Pretty much the only time I don't use ISO-8601 is when I'm using non-numeric month names like when saying a date out loud.
Memes
Rules:
- Be civil and nice.
- Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.
Yeah, it's pretty much everything for me too. The biggest exception being when UI is involved and a longhand date format would be more friendly.
In Canada we use MM/DD and DD/MM so you never quite know which it is! There's an expense spreadsheet I fill out for work that uses one format in one place and the other format in another....
And you can do a simple sort on the combined number and youve sorted by date.
Can't believe he missed the opportunity to add 41332 to the number of ways of how not to write dates.
ISO-8601 over all other formats. 2023-08-09T21:11:00Z
Simple, sortable, intuitive.
Awful to actually read, though. Using T as a delimiter is mental... At least the hyphen provides some white space
Christ, do this many people really find iso8601 hard to read? It’s the date and the time with a T in the middle.
Not "many people." Americans. Americans find it hard to read. I'm not 100% sure but I'm fairly certain everyone else in the world agrees that either day/month/year or year/month/day is the best way to clearly indicate a date. You know, because big to small. America believes month/day/year for some stupid fucking reason.
I'm pretty sure it's because of the way we say it. Like, "May 6th, 2023". So we write it 5/6/2023.
That said, I think it's fucking stupid.
Yer, just like the most important day for the seppos... The 4th of July...
It warms my heart to see so many comments in the camp of "I use it everywhere". Absolutely same here. You are my people.
Together with hh:mm(:ss) for times and +hh:mm for timezones. Don't make me deal with that 12am/pm bullshit that doesn't make any sense, and don't make make me look up just what the time difference is between CEST and IST. Just give me the offsets +02:00 and +05:30, and I can calculate that my local time of 06:55+03:30=10:25 in India.
Upvoted because I appreciate the exposure for this dating method, but I personally use it for everything. Much clearer for a lot of reasons IMO. Biggest to smallest pretty much always makes the most sense.
ISO 8601 gang. You’d never want to describe dates that way but for file management the convenience is massive.
Nah man. Use 8601 for everything. They’re intrinsically chronologically sortable.
I really wonder how americans were able to fuck this one up. There are three ways to arrange these and two of them are acceptable!
Edit: Yes, I meant common ways, not combinatorically possible ways.
Hmmm more like 6 ways but I get your point
Three ways that people actually use. YYYY-MM-DD, DD-MM-YYYY, and MM-DD-YYYY (ew).
AFAIK no-one does YYYY-DD-MM, DD-YYYY-MM, or MM-YYYY-DD... yet. Don't let the Americans know about these formats, they might just start using them out of spite.
YYYY-DD-MM, DD-YYYY-MM, or MM-YYYY-DD
What the actual fuck
'hey man, what date is it today?' 'well it's the 15th of 2023, August'
There are two ways of writting dates: the "yyyy-mm-dd" one and the wrong one
better than the absolutely deranged MM/DD/YYYY and imo the best when it comes to international communication
ISO 8601 is amazing for data storage and standardizing the date.
Display purposes sure, whatever you feel like
But goddammit if you don’t use ISO 8601 to store dates, I will find you, and I will standardize your code.
YYYY-MM-DD for everything. My PC clock, my phone and even my handwritten notes all use that format.
The only other acceptable format is military notation: DD MMM YYYY.
Excuse me?! ISO 8601 >> *
I enforce ISO 8601 for the shared storage in my office. Before I got there, files were kinda stored in all kinds of formats, but mostly month first.
I tell the person under me she can store her files in her user any way she wants, but if it goes into shared storage, it's ISO 8601. I even have a folder in there called !Date format: YYYY-MM-DD Description
to help anyone else remember.
ISO dates are the goat because they string compare correctly. Just yesterday I shaved 2 full seconds off a page transition by removing a date parse in the middle of a hot sorting loop. Everything should use ISO in my opinion.
I have a watch that uses MM/DD for date, which pissed me off to no end. While looking for a way to change it to DD/MM, I found out that they actually used ISO-8601 and dropped the year. Now I don't know how to feel about it.
To the commenters justifying the written form MM-DD-YYYY on the basis of preferring to say the name of the month followed by the day (which the written numerical sequence does not preclude you from doing). If someone were to say something like "the time is a quarter to eleven" do you think they would have a case for writing it 45:10? And if so, how would you deal with the ambiguity of "ten past ten" if they wrote it 10:10 instead of 10:10?
YYMMDD is how a start my file names. It'll work great for another 75 years or so.
yyyy-mm-dd makes it much clearer about what fucking order things are in