# Template:Pascha date

m (Category) |
m (add link and Algorithm) |
||

Line 3: | Line 3: | ||

---- | ---- | ||

+ | ==Usage== | ||

This template displays the date of Pascha for the current year. | This template displays the date of Pascha for the current year. | ||

Line 15: | Line 16: | ||

where ''nnnn'' is the year | where ''nnnn'' is the year | ||

+ | ==Algorithm== | ||

+ | The following algorithm is based on the algorithm derived by the German | ||

+ | mathematician Gauss. The principal simplification is that substitutions have been made for the | ||

+ | case of Julian calendars and Orthodox Easters. This algorithm calculates the number of days | ||

+ | AFTER March 21 (Julian) that Easter occurs. | ||

+ | |||

+ | RMD(x,y) = remainder when x is divided by y. | ||

+ | |||

+ | R1=RMD(Year,19) | ||

+ | R2=RMD(Year,4) | ||

+ | R3=RMD(Year,7) | ||

+ | RA=19*R1+16 | ||

+ | R4=RMD(RA,30) | ||

+ | RB=2*R2+4*R3+6*R4 | ||

+ | R5=RMD(RB,7) | ||

+ | RC=R4+R5 | ||

+ | |||

+ | The number RC ranges from 1 to 35 which corresponds to March 22 to April 25 in the Julian | ||

+ | Calendar (currently April 4 to May 8 on the Gregorian). The Julian Calendar is now 13 days | ||

+ | behind the Gregorian, and will be until March 1, 2100 when it will be 14 days behind the Gregorian Calendar. | ||

+ | ==See also== | ||

+ | [[Gaussian Formulae]] | ||

[[Category:OrthodoxWiki Templates|{{PAGENAME}}]] | [[Category:OrthodoxWiki Templates|{{PAGENAME}}]] | ||

[[Category:Calendar templates]]</noinclude> | [[Category:Calendar templates]]</noinclude> |

## Revision as of 13:15, November 28, 2011

April 20 2014

## Usage

This template displays the date of Pascha for the current year.

Usage: **{{Pascha date}}**

Or this template displays the date of Pascha for the year passed by the **year** parameter.

Usage: **{{Pascha date|year=***nnnn***}}**

where *nnnn* is the year

## Algorithm

The following algorithm is based on the algorithm derived by the German mathematician Gauss. The principal simplification is that substitutions have been made for the case of Julian calendars and Orthodox Easters. This algorithm calculates the number of days AFTER March 21 (Julian) that Easter occurs.

RMD(x,y) = remainder when x is divided by y. R1=RMD(Year,19) R2=RMD(Year,4) R3=RMD(Year,7) RA=19*R1+16 R4=RMD(RA,30) RB=2*R2+4*R3+6*R4 R5=RMD(RB,7) RC=R4+R5

The number RC ranges from 1 to 35 which corresponds to March 22 to April 25 in the Julian Calendar (currently April 4 to May 8 on the Gregorian). The Julian Calendar is now 13 days behind the Gregorian, and will be until March 1, 2100 when it will be 14 days behind the Gregorian Calendar.