Edge Rewrite
// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a44e87455892bde9

Jump to content

Template:MAYANCALENDAR/doc

From Wikipedia, the free encyclopedia

{{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

[edit]
{{MAYANCALENDAR}} ↓
13.0.13.17.14
7 Yax, 7 Ix
{{MAYANCALENDAR|format=DM}} ↓
13.0.13.17.14
7 Yax, 7 Ix
{{MAYANCALENDAR|format=MD}} ↓
13.0.13.17.14
Yax 7, Ix 7
{{MAYANCALENDAR|1945|11|12}} ↓
12.16.11.16.9
7 Zac, 11 Muluc
{{MAYANCALENDAR|format=MD|1945|11|12}} ↓
12.16.11.16.9
Zac 7, Muluc 11

Individual units of time

[edit]

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

[edit]

Dershowitz, Nachum; Reingold, Edward M. (2008). Calendrical Calculations (Third ed.). Cambridge: Cambridge University Press. ISBN 9780521885409. OCLC 144768713.