Template:ROMANDATE/day
Appearance
ante diem III Idus
| This template uses Lua: |
{{ROMANDATE}} gives the date in the Roman calendar.
The given year is in Ab urbe condita. The individual units of time are returned by {{ROMANDATE/year}}, {{ROMANDATE/month}}, and {{ROMANDATE/day}}. 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 it are taken from Calendrical Calculations by Nachum Dershowitz and Edward Reingold.
Usage
- Syntax
{{ROMANDATE|format=format|year|month|day}}
- Examples
{{ROMANDATE}}→ ante diem III Idus Septembres, MMDCCLXXIX{{ROMANDATE|format=DMY}}→ ante diem III Idus Septembres, MMDCCLXXIX{{ROMANDATE|format=MDY}}→ Septembres ante diem III Idus, MMDCCLXXIX{{ROMANDATE|format=YMD}}→ MMDCCLXXIX, Septembres ante diem III Idus{{ROMANDATE|format=DM}}→ ante diem III Idus Septembres{{ROMANDATE|format=MD}}→ Septembres ante diem III Idus{{ROMANDATE|1945|11|12}}→ ante diem III Kalendas Novembres, MMDCXCVIII{{ROMANDATE|format=YMD|1945|11|12}}→ MMDCXCVIII, Novembres ante diem III Kalendas
Individual units of time
- The current year:
{{ROMANDATE/year}}→ MMDCCLXXIX - The current month:
{{ROMANDATE/month}}→ Septembres - The current day of month:
{{ROMANDATE/day}}→ ante diem III Idus
Source
- Dershowitz, Nachum; Reingold, Edward M. (2008). Calendrical Calculations (Third ed.). Cambridge: Cambridge University Press. ISBN 9780521885409. OCLC 144768713.