Plugin Mayan Calendar

Introduced in Tiki4

Use this wiki plugin to convert a Gregorian calendar date to a Mayan date.

Parameters

Convert a Gregorian date to a Mayan calendar date
Introduced in Tiki 4.
Go to the source code
Preferences required: wikiplugin_mcalendar

Parameters Accepted Values Description Default Since
grdate Gregorian date for convert. Format: DD.MM.YYYY. Default: Today's date 4.0
template You must use the variable substitution.
LongCount: %baktun%, %katun%, %tun%, %winal%, %kin%
Tzolkin: %tzolkin13%, %tzolkin20%, %tzolkin20name%
Haab: %haabkin%, %haabwinal%, %haabwinalname%
Misc: %longkin%, %julianday%

Example: template "%baktun%.%katun%.%tun%.%winal%.%kin%, %tzolkin13% %tzolkin20name%, %haabkin% %haabwinalname%"for 22.05.2009 will return 12.19.16.6.11, 8 CHUEN, 9 SIP.

Default template: %baktun%.%katun%.%tun%.%winal%.%kin% %tzolkin13% %tzolkin20name% %haabkin% %haabwinalname%
4.0

Example

This code:

Copy to clipboard
{mcalendar grdate="11.04.2011"}


Would produce this:
12.19.18.5.0 8 AHAU 8 POP

Aliases

PluginMCalendar | PluginMcalendar | Plugin Mayan Calendar