24 ms·
The month itself is unnecessary complex because long ago, someone decided to break a perfectly good calendar. Ever wondered why the variable-length month is se
by TeMPOraL 5y ago
The month itself is unnecessary complex because long ago, someone decided to break a perfectly good calendar.
Ever wondered why the variable-length month is second in the year, instead of a last? English names of months offer a hint: "September", "October", "November", "December" - sound similar to "hept-", "oct-", "non-", "dec-", i.e. 7th, 8th, 9th and 10th. So as it turns out, February used to come last, as reason would demand, but then the calendar got rotated right by two months.
If we imagine the calendar as it was, with February being the last, then at least the mapping between "day of year" and "month, day of that month" would be a function of just "day of year", instead of being a function of both "day of year" and "what year is it".
- goto11 5y agoDoesn't really change that adding n months to a date is an ambiguous operation. You would need to give all months the same length to avoid the ambiguity, but then months would not add up to a year, which has its own set of problems.