5 ms·
Well, if everything were based on how it appears in a calender, you'd think that Americans would start their friggin dates with the month, too ;) In German I'd
by mhd 6y ago
Well, if everything were based on how it appears in a calender, you'd think that Americans would start their friggin dates with the month, too ;)
In German I'd say that both two number dates (lit. "schedule a meeting for the ninth eighth") as well as month names (lit. "my birthday is on the eighteenth May") is common, so we might be more accustomed to thinking of months as numbers. If Roman emperors would've done a better job, we all would.
I think Windows does months as 1-indexed, but then makes a mess of days of the week.
- samatman 6y ago> you'd think that Americans would start their friggin dates with the month, too We... do? America writes dates such as March 14th 2020 as 3/14/20. ISO 8601 is of course superior but I like the month-first approach, because "the 14th day of" doesn't tell you anything until you know "March", it seems more natural.
- jhoechtl 6y agoSorting becomes so much easier though wenn its yyyy-mm-dd
- mhd 6y agoToo early today for me to write posts ;) "Year" first would be more the point where it gets confusing, as when you really start reading the details from a calendar, the year would be first, too. (When you're actually talking, of course, the year is rarely mentioned.) I'm just saying that going from how you say something in your native language to internal data representation is quite error-prone.
- philwelch 6y agoI actually find the European custom more logical. If we are having a casual conversation and I’m referring to a previous event that happened on the 14th, you can assume from context that I mean the 14th of the current or previous month (eg the 14th of November as of the writing of this comment). If it isn’t the current month (+-1 based on context), I can instead specify that I meant the 14th of September and you will understand that I mean the 14th of September this current year (again +-1 by context). If I meant the 14th of September, 1987, I will say the whole date. But since most date-based conversations have an implied context, being able to simply truncate dates for brevity is useful. ISO 8601 is big-endian, European style is little-endian, and US-style is just kind of pointless.
- kingofpandora 6y ago> ISO 8601 is big-endian, European style is little-endian, and US-style is just kind of pointless. US-style is middle-endian.
- treeman79 6y agoLots of News websites give month and day, but no year.
- globular-toast 6y ago"March" doesn't tell you anything until you know 2020. It seems like you need the entire date before you know anything at all, so I don't think this argument holds. I think it's arbitrary like most natural language. There is no logic, it's just like that because people do it that way.
- samatman 6y agoNot true, if I say "my birthday is in March" you know something about every year. If I say "my birthday is the 14th" you know... nothing useful. It is of course arbitrary, like anything in natural language; if I thought it were a matter of logic, I would have said something other than "feels more natural"! I name-checked ISO 8601 for a reason; that's how I write my dates now, and as a developer, if you store dates as anything other than a Unix timestamp or ISO 8601, I judge you for it ;) but you'll notice it puts the month before the day...
- globular-toast 6y agoThat's true for anniversaries. Some things happens every month too. "I get paid on the 29th". "The bill is due on the 1st". ISO-8601 does indeed put the month before the day, but it puts the year before the month too. The problem people have with the American format is that it's mixed. Y-m-d makes a lot of sense, but d-m-Y kind of does too. m/d/Y is just weird and it's literally the only country in the world to do it.
- MattConfluence 6y ago"March 14th 2020" is perfectly fine both when spoken and written. It's not easy to sort lexicographic by programs, but that's not the most important aspect. The problem is that the existence of both MM/DD/YY and DD/MM/YY makes dates less than the 13th of the month ambiguous. People do seem to get hung up on not going from smallest to largest unit (or the other way around), but the ambiguity is the real problem in my opinion. And of course it becomes a tribal thing, "the other guys are wrong about their format, we should keep ours and drop theirs". The best thing would be to just drop MM/DD/YY and DD/MM/YY in favor of _any_ format that is universally understood as unambiguous.