Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// 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: a405bec67b2fee28

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.5
18 Chen, 11 Chicchan
{{MAYANCALENDAR|format=DM}} ↓
13.0.13.17.5
18 Chen, 11 Chicchan
{{MAYANCALENDAR|format=MD}} ↓
13.0.13.17.5
Chen 18, Chicchan 11
{{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.