WIPIVERSE

Rata Die

Definition
Rata Die (abbreviated R.D.) is a numeric system for assigning a single number to each calendar day, optionally including fractional values to represent the time of day. The system is independent of any specific calendar and is used primarily for calendrical calculations, allowing conversion and comparison of dates across different calendar systems.

Etymology
The term derives from the Latin ablative feminine singular rata (“from a fixed”) combined with die (“date”), effectively meaning “from a fixed date.” It was introduced by Howard Jacobson.

Historical Context
Rata Die was popularized in the field of computer calendar algorithms by Edward Reingold and Nachum Dershowitz in their book Calendrical Calculations (2008). The concept, however, has earlier precedents; a similar day‑numbering scheme appears in the REXX programming language and in the GNU Emacs calendar, where it was called the “absolute date.”

Epoch
The epoch of the Rata Die system is midnight (00:00) local time on Monday, 1 January AD 1 in the proleptic Gregorian calendar. This day is assigned the integer value 1. By contrast, the Julian Date (JD) system uses noon UT on 1 January 4713 BC (Julian calendar) as its epoch (value 0).

Mathematical Relationship to Julian Dates
Rata Die values are related to Julian Dates (JD) by simple linear transformations:

  1. Continuous (fractional) form – a real number that increases by 1 each day:
    $$ \text{RD} = \text{JD} - 1{,}721{,}424.5 $$ This assigns RD 0 to midnight on Sunday, 31 December 0 (1 BC) in the proleptic Gregorian calendar.

  2. Integer day‑label form – the integer part of the continuous form, obtained by floor‑rounding:
    $$ \text{RD} = \big\lfloor \text{JD} - 1{,}721{,}424.5 \big\rfloor $$ This labels each whole calendar day from midnight to midnight.

  3. Noon‑only integer form – an integer that labels noon rather than midnight:
    $$ \text{RD} = \text{JD} - 1{,}721{,}425 $$ This form is used by Reingold and Dershowitz for certain conversion algorithms where the day boundary is defined at noon.

Time‑zone Considerations
Because the epoch is defined in local time, Rata Die values may differ by a whole‑day offset depending on the time‑zone convention adopted by a particular implementation. This contrasts with Julian Dates, which are defined in Universal Time (UT) and thus are invariant across locations.

Applications

  • Calendrical conversion: Rata Die provides a neutral intermediate representation when translating dates between diverse calendar systems (e.g., Gregorian, Julian, Hebrew, Islamic, Mayan).
  • Astronomical algorithms: While Julian Dates are preferred for precise time‑of‑day calculations, Rata Die is convenient for algorithms that operate primarily on calendar dates.
  • Software libraries: The system is implemented in several programming environments, including the Julia language’s Dates module, the REXX language, and various date‑handling libraries for Python, C++, and other languages.

Related Concepts

  • Julian Date (JD) – a continuous count of days since a fixed epoch in UT, widely used in astronomy.
  • Lilian Date – a day‑numbering system that counts days from 1 January 1582 (the start of the Gregorian calendar).
  • Ordinal date – the day‑of‑year number within a given year (e.g., 32 for 1 February in a non‑leap year).

References

  • Reingold, Edward; Dershowitz, Nachum. Calendrical Calculations (3rd ed.). Cambridge University Press, 2008.
  • Wikipedia contributors. “Rata Die.” Wikipedia, The Free Encyclopedia. Accessed 2025‑02‑13.
  • GNU Emacs documentation, “Absolute date” implementation.
Browse

More topics to explore

    Browse all articles