Re:Did you ever wonder why December has 31 days? (1997)
by baking on Tuesday April 15, 2014 @12:45PM
(#7592854)
I have always felt that the 31-30-31-30-31 pattern from March through July, Repeating August through December, and then starting again in January was significant. I once wrote an extremely short assembly language routine (PDP-11 I think) for calculating the ordinal date from the calendar date that used simple integer arithmetic (multiply by 153 and divide by 5, I think) to calculate the days in the whole months starting in March.
30.6 rounds to 31
61.2 rounds to 61
91.8 rounds to 92
122.4 rounds to 122
153.0 rounds to 153 etc.
See http://www.cs.utsa.edu/~cs1063/projects/Spring2011/Project1/...
It's only weird that the last month got 28 due to doubling of the 31 day months instead of 30 day months