Template:ETHIOPIANDATE
Appearance
Maskaram 14
| This template uses Lua: |
{{ETHIOPIANDATE}} gives the date in the Ethiopian calendar. The individual units of time are returned by {{ETHIOPIANYEAR}}, {{ETHIOPIANMONTH}}, and {{ETHIOPIANDAY}}. 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
{{ETHIOPIANDATE|year|month|day}}
- Examples
{{ETHIOPIANDATE}}→ Maskaram 14{{ETHIOPIANDATE|format=DMY}}→ 14 Maskaram, 2019{{ETHIOPIANDATE|format=MDY}}→ Maskaram 14, 2019{{ETHIOPIANDATE|format=YMD}}→ 2019 Maskaram 14{{ETHIOPIANDATE|format=DM}}→ 14 Maskaram{{ETHIOPIANDATE|format=MD}}→ Maskaram 14{{ETHIOPIANDATE|1945|11|12}}→ H̱edār 3{{ETHIOPIANDATE|format=DMY|1945|11|12}}→ 3 H̱edār, 1938
Individual units of time
- The current year:
{{ETHIOPIANYEAR}}→ 2019 - The current month:
{{ETHIOPIANMONTH}}→ Maskaram - The current day of month:
{{ETHIOPIANDAY}}→ 14
Source
- Dershowitz, Nachum; Reingold, Edward M. (2008). Calendrical Calculations (Third ed.). Cambridge: Cambridge University Press. ISBN 9780521885409. OCLC 144768713.