Wednesday, August 11, 2010

Mayan Calendar

One would think that a web site called Maya Paradise would have a Mayan Calendar. Well now it does. Today's date is shown on the Maya Paradise main index page in the three main Mayan calendars, the Long Count, the Tzolkin, and the Haab.

The code for the Mayan calendars were actually a freebie that fell out of code I had to write to solve certain database problems for the Maya Paradise Chronology, namely that spreadsheets and databases are incapable of natively handling dates in the far past, dates prior to 1900 AD, prior to 1563 AD, prior to 100 AD, depending on which tool one is using. The Chronology needs to handle dates back to 10,000 BC and farther. Once I was writing code for calendrics it was easy to do the Mayan calendars at the same time.