Fun with the Gregorian Calendar

As some of you know, the old calendaring system in use with certain Western countries from Roman times, called the Julian calendar, had some problems with not keeping up with the sun or something esoteric. To correct this, the Church made some adjustments to leap years and whatnot and blah blah blah (you want the details, go to Wikipedia).

However, this little bit of historical trivia lends itself to some fun with your date entry fields.

The Gregorian calendar was accepted by the colonies and England in 1752. In that year, to correct for the problems with the Julian calendar, the colonies just skipped 11 days. September 2, 1752 was followed by September 14, 1752. Therefore, dates like September 5, 1752 are invalid dates; those days didn’t really exist in the real world.

Better yet, different countries adopted the Gregorian calendar at different times. Russia switched in 1918 and the USSR went system-wide in 1922. Turkey adopted in 1926. So days were skipped on their calendars as well.

Sure, it’s a dirty trick to pull on your poor, ill-prepared development staff, but your date applications should recognize these missing days just like they disallow February 29, 2001.

Go ahead and log it. Tell them The Director told you to.

Comments are closed.

wordpress visitors