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: a40408e38d65a376

Jump to content

Template:BABYLONIANDATE/doc

From Wikipedia, the free encyclopedia

{{BABYLONIANDATE}} gives the date in the Babylonian calendar. The given year is in the Seleucid era. The individual units and component values are returned by {{BABYLONIANDATE/day}}, {{BABYLONIANDATE/leap}}, {{BABYLONIANDATE/month}}, {{BABYLONIANDATE/year}}. 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

[edit]
Syntax
{{BABYLONIANDATE|format=format|year|month|day}}
Examples
{{BABYLONIANDATE}} → 11 Ululu, 2337
{{BABYLONIANDATE|format=DMY}} → 11 Ululu, 2337
{{BABYLONIANDATE|format=MDY}} → Ululu 11, 2337
{{BABYLONIANDATE|format=YMD}} → 2337 Ululu 11
{{BABYLONIANDATE|format=DM}} → 11 Ululu
{{BABYLONIANDATE|format=MD}} → Ululu 11
{{BABYLONIANDATE|1945|11|12}} → 6 Arakhsamna, 2256
{{BABYLONIANDATE|format=YMD|1945|11|12}} → 2256 Arakhsamna 6

Individual units of time

[edit]

The above subtemplates all take optional year, month and day parameters.

Source

[edit]
  • Dershowitz, Nachum; Reingold, Edward M. (2018). Calendrical Calculations (Fourth ed.). Cambridge: Cambridge University Press. ISBN 9781107057623. OCLC 1030959487.