Template:MAYANCALENDAR
| This template uses Lua: |
{{MAYANCALENDAR}} gives the date in three Maya calendars: the Long Count, the Haabʼ and the Tzolkʼin. Each can be given separately through its subtemplates. The year, month and day can be given as parameters, but if not, they will default to the current date in UTC. The algorithms to derive the dates taken from Calendrical Calculations by Nachum Dershowitz and Edward Reingold, which follows the Goodman-Martinez-Thompson correlation.
Usage
{{MAYANCALENDAR}}↓{{MAYANCALENDAR|format=DM}}↓{{MAYANCALENDAR|format=MD}}↓{{MAYANCALENDAR|1945|11|12}}↓{{MAYANCALENDAR|format=MD|1945|11|12}}↓
Individual units of time
- The current Long Count:
{{MAYANCALENDAR/Long Count}}→ 13.0.13.17.3 - The current Haab:
{{MAYANCALENDAR/Haab}}→ 16 Chen - The current Haab day:
{{MAYANCALENDAR/Haab/day}}→ 16 - The current Haab month:
{{MAYANCALENDAR/Haab/month}}→ Chen - The current Tzolkin:
{{MAYANCALENDAR/Tzolkin}}→ 9 Akbal - The current Tzolkin number:
{{MAYANCALENDAR/Tzolkin/number}}→ 9 - The current Tzolkin name:
{{MAYANCALENDAR/Tzolkin/name}}→ Akbal
The above subtemplates all take optional year, month and day parameters. {{MAYANCALENDAR/Haab}} and {{MAYANCALENDAR/Tzolkin}} also take a format parameter, which can be DM or MD.
Source
Dershowitz, Nachum; Reingold, Edward M. (2008). Calendrical Calculations (Third ed.). Cambridge: Cambridge University Press. ISBN 9780521885409. OCLC 144768713.