Fullscreen
[Show/Hide Right Column]

Convert a Gregorian date to a Mayan calendar date

Plugin MCalendar

This is a stub. New feature in Tiki4.


Parameters

Mcalendar

Convert a Gregorian date to a Mayan calendar date

Required parameters are in bold
Preferences required: wikiplugin_mcalendar
Parameters Accepted Values Description Default Since
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%
grdate Gregorian date for convert. Format: DD.MM.YYYY. Default: Today date


Example

This code:
{MCALENDAR(grdate="11.04.2011") /}


Would produce this:
12.19.18.5.0 8 AHAU 8 POP

Alias
PluginMCalendar | PluginMcalendar | Plugin Mayan Calendar

Contributors to this page: lindon132 points  and xavi67871 points  .
Page last modified on Sunday 06 March, 2011 20:43:57 UTC by lindon132 points .
The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.

Site Language

Reference Guide

Keywords

These keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):



Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki