Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// 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: a40493ff3afc4b67

Jump to content

Template:ARMENIANDATE/doc

From Wikipedia, the free encyclopedia

{{ARMENIANDATE}} gives the date in the Armenian calendar. The given year is in the calendar adopted at the Second Council of Dvin. The individual units of time are returned by {{ARMENIANDATE/year}}, {{ARMENIANDATE/month}}, and {{ARMENIANDATE/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
{{ARMENIANDATE|format=format|year|month|day}}
Examples
{{ARMENIANDATE}} → 6 Sahmi 1476
{{ARMENIANDATE|format=DMY}} → 6 Sahmi 1476
{{ARMENIANDATE|format=MDY}} → Sahmi 6, 1476
{{ARMENIANDATE|format=YMD}} → 1476 Sahmi 6
{{ARMENIANDATE|format=DM}} → 6 Sahmi
{{ARMENIANDATE|format=MD}} → Sahmi 6
{{ARMENIANDATE|1945|11|12}} → 5 Trē 1395
{{ARMENIANDATE|format=YMD|1945|11|12}} → 1395 Trē 5

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.