On Fri, Apr 04, 2003 at 11:28:49AM -1000, Joshua Hoblitt wrote: > > 13.0.0.0.0 == 0.0.0.0.0 . Except that 0 isn't used on the baktun level, > > so that it stays 13 until 13.19.19.17.19. The day after that is > > 1.0.0.0.0. > > Date::Maya uses: > > $results [0] %= $max_baktun; > $results [0] = $max_baktun if $results [0] == 0; > > I guess thats safes for RD values before the Mayan epoch.
I don't know what you mean by 'RD values'. > I just want some confirmation that this is the right way to do things. That's my interpretation of what the calendar FAQ writes about Mayan calendars. I'm not an expert on Mayan calendars, about all I know of it, I got from the calendar FAQ. It's good to realize that all three Mayan calendars (does DateTime::Calendar::Maya cover all three?) are, unlike the Gregorian calendar, cyclic. Also, while the long count (that's the Mayan calendar being discussed, the others are the Haab and the Tzolkin) cycles after 13 baktuns, the Mayans had larger units. 20 baktuns make a pictun, 20 pictuns make a calabtun, 20 calabtuns make a kinchiltun, and 20 of those make a alautun. One alautun is 23040000000 days, or more than 63 million years. Abigail