Template:COPTICDAY
Appearance
14
| This template uses Lua: |
{{COPTICDATE}} gives the date in the Coptic calendar.
The given year is in Anno Martyrum, which is used in the Coptic Church. The individual units of time are returned by {{COPTICYEAR}}, {{COPTICMONTH}}, and {{COPTICDAY}}. 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 date are taken from Calendrical Calculations by Nachum Dershowitz and Edward Reingold.
Usage
- Syntax
{{COPTICDATE|format=format|year|month|day}}
- Examples
{{COPTICDATE}}→ Thout 14{{COPTICDATE|format=DMY}}→ 14 Thout 1743{{COPTICDATE|format=MDY}}→ Thout 14, 1743{{COPTICDATE|format=YMD}}→ 1743 Thout 14{{COPTICDATE|format=DM}}→ 14 Thout{{COPTICDATE|format=MD}}→ Thout 14{{COPTICDATE|1945|11|12}}→ Hathor 3{{COPTICDATE|format=DMY|1945|11|12}}→ 3 Hathor 1662
Individual units of time
- The current year:
{{COPTICYEAR}}→ 1743 - The current month:
{{COPTICMONTH}}→ Thout - The current day of month:
{{COPTICDAY}}→ 14
Source
- Dershowitz, Nachum; Reingold, Edward M. (2008). Calendrical Calculations (Third ed.). Cambridge: Cambridge University Press. ISBN 9780521885409. OCLC 144768713.