Its the same for all East Asian countries as well, but I guess slapping
JAPAN
on it means fast upvotes, like that"Place, Japan"
meme.I can’t speak for everyone but I see something Japanese then I upvote it, doesn’t matter what it is.
Sushi, Bullet train, Bonsai, Anime, Bukkake, Haiku
Japan I can get behind but MM/dd/yyyy is just evil, why would you sandwich days between months and years? You monster
Japan I can get behind but MM/dd/yyyy is just evil, why would you sandwich days between months and years? You monster
The only reason I could see is if you were speaking it. September 18th 2012 for example might sound a bit better than 18 September 2012.
I’m an ISO 8601 guy but the MM/DD does make sense in American. We’ll say Oct 20th for a date and then straight translate that to numbers 10/20. It makes more sense than counting in French. Ex. 60, 70, 80, 90
Counting in French is an incredibly low benchmark. Nice try!
Prepare your butthole for the Danish spoken number system, where they express integers in fractions
They should just introduce a new system. Noone likes five halves of twenty for fifty. I guarantee it.
Just indroduce English numbers, the end.
It makes more sense than Monty Python.
It actually makes sense when you put YYYY/MM/DD in filenames as they will be sorted pretty neat (ex: reports)
Yeah for a lot of files you probably would sort by year in the end
2023年12月22日
令和5年12月22日
令和五年十二月二十二日
Funny that only in full Chinese (or Japanese, since 令和 represents a new emperor era in Japan?) I noticed the month is December.
It’s 22nd of November, folks
yeah i realised after, I guess some people are just really excited about Christmas
deleted by creator
I like that this includes 2 of the 4 numbers that i can understand from japanese (chinese numerals?)
It makes sense to either go general to specific or specific to general. MM-DD-YYYY is neither.
YY/MM/DD SUPREMACY
Yeah but half the time is actually: EYY/MM/DD. Like this year is 令5/MM/DD.
And some years have two values, 2019 was both 平31, from 01/01 until 04/30, then 令1 from 05/01 onwards.
Is the kanji the name of the period the year belongs to or something? That looks interesting. Where can I find out more?
deleted by creator
Yup, it’s a single character from the name of the era, and the era changes every time the emperor does.
Wat? Like their alphabet, do the Japanese have some double system?
China does this normally. Either YYYY.MM.DD OR YYYY年MM月DD日
Yes, they have two date systems in common use. It’s only the year that changes though. And there’s no way to confuse the two, usually. If you write “2023” instead of “令5” it’s pretty obvious. I suppose there is a potential for confusion if one just writes a two-digit year though.
deleted by creator
YYYY-MM-DD should be the main everywhere.
It is in Lithuania
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.
You mean as a prefix, right?
Their assumption is that the filename is the same otherwise e.g. myNotes20231122.txt
Oh I see, thanks. Good alternative to final3_release2.
Yeah this method is superior for digital filing. I can’t imagine the sorting clusters I’d have to go through to find what I want any other way
ISO 8601 baby
Though it ought to be a prefix, not a suffix
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
MMDDYY is just a mess. Otherwise… US problems, I don’t care…
Not to us burgerland citizens! 🇺🇲🇺🇲🦅🦅💥💥
Massive trucks that increase fatalities. Bald eagles that are endangered because of Americans, and sound like red tailed Hawks for some reason. Fireworks that are more heavily regulated than guns.
I love Americans but your country is run like a ball of yarn in a box of cats.
Bald eagles aren’t endangered anymore.
Plus being American and having lived abroad every country has their bullshit. You just hear about America’s shit because it has the most popular forms of mass media.
Dumbasses are plentiful everywhere
I don’t like all Americans and you are the kind I don’t. You’re an idiot. I was going to say imbecile but I doubt you know what that means.
This will surely keep me up at night.
Didn’t know saying no country is perfect was such a controversial statement
Getting irrationally defensive over facts is the part no one likes. Large trucks kill people at a higher rate. Fact. Bald eagle is still endangered. Red tailed hawk which is the bird that makes the actual sound, endangered. Many states in the us regulate fireworks harder than guns. Acknowledge your faults.
No one was denying anything… all I said was essentially no country is perfect. A pretty level headed response in my opinion
The most American statement ever :DEdit: I am taking it back and admitting defeat. America != US. I am ashamed.
Yep, today is 2023, November 22.
Someone should make this an alternative date format in English, it looks and works really well.
What about YY/DD/MM?
Oh fuck off. ;)
If that one doesn’t tickle you, we do have more options to explore like MM/YY/DD or DD/YY/MM
Hell, we even have options like MDY/MDY
DD/YY/MM is the devil incarnate
I’ll fuck of when it’s 2024/22/11.
Hey. If you use your format, then you won’t be able to celebrate the new year on 123123, 233112 just doesn’t have the same ring to it
YYYY-MM-DD is the only acceptable date format, as commanded by ISO 8601.
The truth. Amen
Except the information is given least to most important, making verbal abbreviation difficult. Works great for file names though.
There’s this really cool shorthand where you drop the year because it seldom changes. It’s called MM-DD
Yeah and if you need to know what year, you can just add it to the end like this MM-DD-YY.
MM-DD-YY is the worst abomination I’ve seen yet
12-04-08
good luck figuring out what that is
Had a coworker who used MMDDYY with no dashes. Unless you knew it was very hard to figure out, since it could also just be a number that happened to be 6 digits, too. At least YYYY-MM-DD looks like a date generally.
Wow it’s my exact birthday. Good luck figuring out my age.
“I can reuse this old function if I just monkey-patch this other class to work with it, no one will have any issues understanding what’s going on”
Edit: Thought this was the programmerhumor community. For context: A monkey-patch is when you write code that changes the behaviour of some completely different code when it is running, thus making its inner workings completely incomprehensible to the poor programmer using or reading your code.
Is that why the military uses that format?
In a GMP laboratory it’s 22NOV2023 no ambiguity.
deleted by creator
Yep, you can easily sort it just because of the ordering. It’s a full standard
No. No you can’t.
ISO 8601, while great, has too many formats. May I introduce RFC 3339 instead?
YES! I wish more people knew about RFC 3339. While I’m all for ISO 1601, it’s a bit too loose in its requirements at times, and people often end up surprised that it’s just not the format they picked…
Huh, I’ve never noticed how much bloat was in ISO 8601. I think when most people refer to it, we’re specifically referring to the date (optionally with time) format that is shared with RFC 3339, namely 2023-11-22T20:00:18-05:00 (etc). And perhaps some fuzziness for what separates date and time.
That is what I love so much about standards: there are so many to choose from.
“There shall be no other date formats before ISO8601. Remember this format and keep it as the system default”
It’s alphabetically sortable too. Name backups like this.
For file names, absolutely.
When I’m asking what date it is I typically know the current year.Well la-tee-dah, look at mister not-shitfaced-every-day here, bragging like a big man
I can lie under the table, puking my guts out and still remember the year.
You need more training, son.
Largest to smallest unit of time. It just makes sense.
YYYY-MM-DD:HH:MM:SS
YYYY-MM-DD:HH:MM:SS+TZ
RFC3339! It’s like ISO8601, but good!
YYYY-MM-DDTHH:MM:SS.SSSSSSSSSZ
I love the nanosecond format! I was playing with the date command earlier and came across this.
This, but all run together.
I write files/reports to disk a lot from scripts, so that’s my preferred format.
I just go for a unix timestamp and use terminal/filemanager to sort by or display the datetime
Are you talking epoch? I don’t care for that mainly because it’s not human readable. I see the use for it, but I struggle with it in practical use.
Yep. I mostly like datetimes for simple sorting. If it needs to be human readable iso is the way to go tho.
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.
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.
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.
Holy shit teach me your ways how do I do that
Nope not yet
Download Autohotkey, and create a new script. Paste these shortcuts into the script and restart the script:
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
:R*?:ddd::
FormatTime, CurrentDateTime, yyyy-MM-dd
SendInput %CurrentDateTime%
return
:R*?:dtt::
FormatTime, CurrentDateTime, yyMMddHHmm
SendInput %CurrentDateTime%
Return
Now, if you type ‘ddd’ on your keyboard, the current date will be typed out, eg ‘2023-11-23’.
If you type ‘dtt’ tgen the datetime stamp will be typed out in YYMMDDhhmm format, eg 2311231012
There are so many cool things you van do with AHK to make your work more productive. For example, rather tgan typing your email address a billion times, add the shortcut:
And then you can type ‘add1’ and hit space, and your email address will be typed out in full. Of course, the string ‘add1’ can be whatever you want.
I love you.
💕
Much date. Very logic.
Sorting by date would be so much better with yyyymmdd .
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
Canada threw up their hands and said, “Fuck it, I don’t care, use whatever date format you like.”
We are ridiculously inconsistent in Canada. I’ve seen all 3 of the most popular formats here (2023-11-22, 11/22/2023, and 22/11/2023) in similarish amounts. Government forms seem to be increasingly using RFC 3339 dates, but even they aren’t entirely onboard.
Which color is which?
(This doesn’t consider the separator) Cyan - DD/MM/YY Magenta - MM/DD/YY Yellow - YY/MM/DD The other ones are mixes of those two colors, so e.g. the US is MM/DD/YY and YY/MM/DD (apparently).
Also just noticed I didn’t attribute this picture, I’ll edit my comment.
where’s that? somewhere in africa?
/s because apparently it’s not implied
Lithuania is one of the Baltic States, conveniently squished between Russia & Belarus to the east and the sea to the west. Across that sea is Sweden. You’ll usually see three countries be the parts of this set. Lithuania is the southernmost of these three.
Soo… yes to being in Africa?
/s
Are you from the US? This is a legit question…
I seem to have dropped my /s. But yes.