Edge Rewrite
// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a44faf13c96e4bba

Jump to content

Template:ROMANDATE/doc

From Wikipedia, the free encyclopedia

{{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

[edit]
Syntax
{{ROMANDATE|format=format|year|month|day}}
Examples
{{ROMANDATE}} → ante diem XII Kalendas Octobres, MMDCCLXXIX
{{ROMANDATE|format=DMY}} → ante diem XII Kalendas Octobres, MMDCCLXXIX
{{ROMANDATE|format=MDY}} → Octobres ante diem XII Kalendas, MMDCCLXXIX
{{ROMANDATE|format=YMD}} → MMDCCLXXIX, Octobres ante diem XII Kalendas
{{ROMANDATE|format=DM}} → ante diem XII Kalendas Octobres
{{ROMANDATE|format=MD}} → Octobres ante diem XII Kalendas
{{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

[edit]

Source

[edit]
  • Dershowitz, Nachum; Reingold, Edward M. (2008). Calendrical Calculations (Third ed.). Cambridge: Cambridge University Press. ISBN 9780521885409. OCLC 144768713.