Brian Dunning's FileMaker Custom Functions

Easter ( theYear ; method1J2O3G )

Returns Julian, Orthodox, or Gregorian Easter dates for years 326 to 4000 (or 4099).

  Average rating: 4.5 (30 votes) Log in to vote

Lewis Lorenz   Lewis Lorenz - Show more from this author
Lorenz Companies
http://www.LorenzCom.com

Share on Facebook Share on Twitter

  Sample input:
Easter ( 2012 ; 1 )
Easter ( 2012 ; 2 )
Easter ( 2012 ; 3 )
  Sample output:
4/2/12
4/15/12
4/8/12

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Returns Julian, Orthodox, or Gregorian Easter dates for years 326 to 4000 (or 4099).

theYear = the 4 digit year for which the date of Easter is requested.
method1J2O3G = a number or initial to indicate which calendar is used to calculate the Easter date (1=Julian, 2=Orthodox, and 3=Gregorian). Defaults to 3 if blank or out of range.

Year validation changes the year to the minimum year that can be calculated for the calendar method. Validation can be commented out in this code, but dates less than the minimum may not be accurate.
Easter for years 4001 to 4099 can be retrieved as text by un-commenting the code at the end of the function. Comment the following FileMaker Date function line if you do this.

Updated 4/4/2018.

Instrumental Gregorian calendar code enhancement by Phil Caulkin.
Code based on Ronald W. Mallen's reasearch and Greg Mallen's algorithm.
See http://www.gmarts.org/index.php?go=415.
======================================================
Method 1: ORIGINAL CALCULATION
From 326 AD, Easter Sunday was determined as the
Sunday following the Paschal Full Moon (PFM) date
for the year based on the Julian Calendar. PFM dates
were made up of a simple cycle of 19 Julian calendar
dates. This method returns a Julian calendar date,
and applies for all years from 326
(The author's last known use of the Julian calendar
was in Greece in 1923).
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Method 2: ORIGINAL CALCULATION converted to GREGORIAN CALENDAR
Same (original) calculation, also converts the Julian
calendar date to the equivalent Gregorian calendar date.
It applies for years 1583 to 4099. This method
is currently used by Orthodox Churches.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Method 3: REVISED CALCULATION
This method calculates Easter Sunday as the Sunday
following the Paschal Full Moon (PFM) date for the
year based on the Gregorian Calendar. PFM dates are
calculated from the relationship between the sun,
moon & earth (as understood in 1582) using many 19
Gregorian calendar date cycles. This method was
adopted from 1583 in Europe, 1753 in England and is
currently used by Western churches.
================================================

 

Comments

Vaughan   Vaughan, Sydney AUstralia
Oct 21, 2012
Works well, thanks.
 
Johan Söderberg   Johan Söderberg, Distingo Scenproduktion
Mar 2, 2013
Beautiful!

Thanks.
 

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: