Perpetual calendar
Encyclopedia
A perpetual calendar is a calendar
Calendar
A calendar is a system of organizing days for social, religious, commercial, or administrative purposes. This is done by giving names to periods of time, typically days, weeks, months, and years. The name given to each day is known as a date. Periods in a calendar are usually, though not...

 which is good for a span of many years, such as the Runic calendar
Runic calendar
A Runic calendar is a perpetual calendar based on the 19 year long Metonic cycle of the Moon. Runic calendars were written on parchment or carved onto staves of wood, bone, or horn. The oldest one known, and the only one from the Middle Ages, is the Nyköping staff, believed to date from the 13th...

.

General information

For the Gregorian
Gregorian calendar
The Gregorian calendar, also known as the Western calendar, or Christian calendar, is the internationally accepted civil calendar. It was introduced by Pope Gregory XIII, after whom the calendar was named, by a decree signed on 24 February 1582, a papal bull known by its opening words Inter...

 and Julian
Julian calendar
The Julian calendar began in 45 BC as a reform of the Roman calendar by Julius Caesar. It was chosen after consultation with the astronomer Sosigenes of Alexandria and was probably designed to approximate the tropical year .The Julian calendar has a regular year of 365 days divided into 12 months...

 calendars, a perpetual calendar typically consists of one of two general variations:
  • 14 one-year calendars, plus a table to show which one-year calendar is to be used for any given year. These one-year calendars divide evenly into of two sets of seven calendars: seven for each common year (year that does not have a February 29) that starts on each day of the week, and seven for each leap year that starts on each day of the week, totaling fourteen. (See Dominical letter
    Dominical letter
    Dominical letters are letters A, B, C, D, E, F and G assigned to days in a cycle of seven with the letter A always set against 1 January as an aid for finding the day of the week of a given calendar date and in calculating Easter....

     for one common naming scheme for the 14 calendars.)

  • Seven (31-day) one-month calendars (or seven each of 28-31 day month lengths, for a total of 28) and one or more tables to show which calendar is used for any given month. Some perpetual calendars' tables slide against each other, so that aligning two scales with one another reveals the specific month calendar via a pointer or window mechanism..

The seven calendars may be combined into one, either with 13 columns of which only seven are revealed, or with movable day-of-week names (as shown in the pocket perpetual calendar picture.

Note that such a perpetual calendar fails to indicate the dates of moveable feast
Moveable feast
In Christianity, a moveable feast or movable feast is a holy day – a feast day or a fast day – whose date is not fixed to a particular day of the calendar year but moves in response to the date of Easter, the date of which varies according to a complex formula...

s such as Easter
Easter
Easter is the central feast in the Christian liturgical year. According to the Canonical gospels, Jesus rose from the dead on the third day after his crucifixion. His resurrection is celebrated on Easter Day or Easter Sunday...

, which are calculated based on a combination of events in the Tropical year
Tropical year
A tropical year , for general purposes, is the length of time that the Sun takes to return to the same position in the cycle of seasons, as seen from Earth; for example, the time from vernal equinox to vernal equinox, or from summer solstice to summer solstice...

 and lunar cycles. These issues are dealt with in great detail in Computus
Computus
Computus is the calculation of the date of Easter in the Christian calendar. The name has been used for this procedure since the early Middle Ages, as it was one of the most important computations of the age....

.

Other uses of the term "perpetual calendar"

  • Offices and retail establishments often display devices containing a set of elements to form all possible numbers from 1 through 31, as well as the names/abbreviations for the months and the days of the week, so as to show the current date for the convenience of people who might be signing and dating documents such as checks. Establishments that serve alcoholic beverages may use a variant that shows the current month and day, but 21 years in the past, indicating the latest legal birth date for alcohol purchases.

  • Certain calendar reform
    Calendar reform
    A calendar reform is any significant revision of a calendar system. The term sometimes is used instead for a proposal to switch to a different calendar.Most calendars have several rules which could be altered by reform:...

    s may be considered to be inherently perpetual calendars, such as The World Calendar
    World calendar
    The World Calendar is a proposed reform of the Gregorian calendar created by Elisabeth Achelis of Brooklyn, New York in 1930.-Features:The World Calendar is a 12-month, perennial calendar with equal quarters. It is perennial, or perpetual, because it remains the same every year.Each quarter begins...

    , International Fixed Calendar
    International Fixed Calendar
    The International Fixed calendar is a solar calendar proposal for calendar reform designed by Moses B...

     and Pax Calendar
    Pax Calendar
    The Pax calendar was invented by James A. Colligan in 1930 as a reform of the Gregorian calendar.Unlike other proposals such as the International Fixed Calendar and the World Calendar, it preserves the 7-day week by intercalating a week to a perpetual year of 52 weeks = 364 days.The year is divided...

    . These calendars have each year and each month within the year, always beginning on the same day of the week.

  • In watchmaking, "perpetual calendar" describes a calendar mechanism that correctly displays the date on the watch 'perpetually', taking into account the different lengths of the months as well as leap days. The internal mechanism will move the dial to the next day.


These meanings are beyond the scope of the remainder of this article.

Perpetual calendar algorithms

Perpetual calendar use algorithms to compute the day of the week for any given year, month, and day of month. Even though the individual operations in the formulas can be very efficiently implemented in software (requiring no processor-intensive floating-point operations
FLOPS
In computing, FLOPS is a measure of a computer's performance, especially in fields of scientific calculations that make heavy use of floating-point calculations, similar to the older, simpler, instructions per second...

), they are too complicated for most people to perform all of the arithmetic mentally. Perpetual calendar designers hide the complexity in tables to simplify their use.

A perpetual calendar employs a table for finding which of fourteen yearly calendars to use. A table for the Gregorian calendar expresses its 400-year grand cycle: 303 common years and 97 leap years total to 146,097 days, or exactly 20,871 weeks. This cycle breaks down into one 100-year period with 25 leap years, making 36,524 days, or one day less than 5,218 full weeks; and three 100-year periods with 24 leap years each, making 36,524 days, or two days less than 5,218 full weeks.

Within each 100-year block, the cyclic nature of the Gregorian calendar proceeds in exactly the same fashion as its Julian predecessor: A common year begins and ends on the same day of the week, so the following year will begin on the next successive day of the week. A leap year has one more day, so the year following a leap year begins on the second day of the week after the leap year began. Every four years, the starting weekday advances five days, so over a 28-year period it advances 35, returning to the same place in both the leap year progression and the starting weekday. This cycle completes three times in 84 years, leaving 16 years in the fourth, incomplete cycle of the century.

A major complicating factor in constructing a perpetual calendar algorithm is the peculiar and variable length of February, which was at one time the last month of the year, leaving the first 11 months March through January with a five-month repeating pattern: 31, 30, 31, 30, 31, ..., so that the offset from March of the starting day of the week for any month could be easily determined. Zeller's congruence
Zeller's congruence
Zeller's congruence is an algorithm devised by Christian Zeller to calculate the day of the week for any Julian or Gregorian calendar date.- Formula :For the Gregorian calendar, Zeller's congruence is...

, a well-known algorithm for finding the day of week for any date, explicitly defines January and February as the "13th" and "14th" months of the previous year in order to take advantage of this regularity, but the month-dependent calculation is still very complicated for mental arithmetic:

Instead, a table-based perpetual calendar provides a simple look-up mechanism to find offset for the day of week for the first day of each month. To simplify the table, in a leap year January and February must either be treated as a separate year or have extra entries in the month table:
Month Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
Add 0 3 3 6 1 4 6 2 5 0 3 5
For leap years 6 2


Perpetual Julian and Gregorian calendar table

For Julian dates before 1300 and after 1999 the year in the table which differs by an exact multiple of 700 years should be used. For Gregorian dates after 2299,the year in the table which differs by an exact multiple of 400 years should be used. The values "r0" through "r6" indicate the remainder when the Hundreds value is divided by 7 and 4 respectively, indicating how the series extend in either direction. Both Julian and Gregorian values are shown 1500-1999 for convenience.

For each component of the date (the hundreds, remaining digits and month), the corresponding numbers in the far right hand column on the same line are added to each other and the day of the month. This total is then divided by 7 and the remainder from this division located in the far right hand column. The day of the week is beside it. Bold figures (e.g. 04) denote leap year. If a year ends in 00 and its hundreds are in bold it is a leap year. Thus 19 indicates that 1900 is not a Gregorian leap year, (but 19 in the Julian column indicates that it is a Julian leap year, as are all Julian x00 years). 20 indicates that 2000 is a leap year. Use Jan and Feb only in leap years.
100s of Years Remaining Year Digits Month small style="line-height:10px">D
o
W
#
Julian
(r ÷ 7)
Gregorian
(r ÷ 4)
r5 19 16 20 r0 00 06   17 23 28 34   45 51 56 62   73 79 84 90 Jan    Oct Sa 0
r4 18 15 19 r3 01 07 12 18 29 35 40 46 57 63 68 74 85 91 96   May Su 1
r3 17
N/A
02   13 19 24 30   41 47 52 58   69 75 80 86   97 Feb  Aug M 2
r2 16 18 22 r2 03 08 14   25 31 36 42   53 59 64 70   81 87 92 98 Feb Mar Nov Tu 3
r1 15
N/A
  09 15 20 26   37 43 48 54   65 71 76 82   93 99   Jun W 4
r0 14 17 21 r1 04 10   21 27 32 38   49 55 60 66   77 83 88 94   Sep Dec Th 5
r6 13
N/A
05 11 16 22 33 39 44 50 61 67 72 78 89 95 Jan Apr Jul F 6

Example: On what day does Feb 3, 4567 (Gregorian) fall?

1) The remainder of 45 / 4 is 1, so use the r1 entry: 5.

2) The remaining digits 67 give 6.

3) Feb (not Feb for leap years) gives 3.

4) Finally, add the day of the month: 3.

5) Adding 5 + 6 + 3 + 3 = 17. Dividing by 7 leaves a remainder of 3, so the day of the week is Tuesday.

See also

  • Antikythera Mechanism
    Antikythera mechanism
    The Antikythera mechanism is an ancient mechanical computer designed to calculate astronomical positions. It was recovered in 1900–1901 from the Antikythera wreck. Its significance and complexity were not understood until decades later. Its time of construction is now estimated between 150 and 100...

  • Calculating the day of the week
    Calculating the day of the week
    This article details various mathematical algorithms to calculate the day of the week for any particular date in the past or future.A typical application is to calculate the day of the week on which someone was born or some other special event occurred....

  • Doomsday (weekday)
    Doomsday (weekday)
    The Doomsday rule or Doomsday algorithm is a way of calculating the day of the week of a given date. It provides a perpetual calendar since the Gregorian calendar moves in cycles of 400 years....

  • Perpetual Calendar of 800 Years
  • Long Now Foundation
    Long Now Foundation
    The Long Now Foundation, established in 1996, is a private organization that seeks to become the seed of a very long-term cultural institution. It aims to provide a counterpoint to what it views as today's "faster/cheaper" mindset and to promote "slower/better" thinking...

  • Year 10,000 problem
    Year 10,000 problem
    The Year 10,000 problem is the class of all potential software bugs that would emerge when the need to express years with five digits arises...

The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK