def to_tzolkin(jd):
lcount = trunc(jd) + <NUM_LIT:0.5> - EPOCH<EOL>day = amod(lcount + <NUM_LIT:4>, <NUM_LIT>)<EOL>name = amod(lcount + <NUM_LIT:20>, <NUM_LIT:20>)<EOL>return int(day), TZOLKIN_NAMES[int(name) - <NUM_LIT:1>]<EOL>
Determine Mayan Tzolkin "month" and day from Julian day