Software Venture Consulting

FileMaker Pro downloads & Resources
FileMaker Custom Functions
FileMaker Web Viewer Examples
FileMaker Pro & Lasso Consulting
Training
FileMaker Books
FileMaker Articles
FileMaker Error Reference

Free Web Tools
Free FileMaker Tools

Personal Pages
Videos
Adventures
Links

Shopping Cart
Shopping Cart

Search:

Free Newsletter
Signup


Contact


Privacy Policy



FileMaker is a registered trademark of FileMaker, Inc. in the U.S. and other countries.

 

 FileMaker Pro Custom Functions

List  |  Show Random  |  Upload  |  Add This to Your Site

Easter ( theYear, method )

Rate this function:  

RatingRatingRatingRatingRating
  Average rating: 4.4  (31 votes)
  Discuss this Custom Function

Lewis C. Lorenz, Lorenz Companies
www.LorenzCom.com

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

Sample Input:
Easter ( 2012, 1 )
Easter ( 2012, 2 )
Easter ( 2012, 3 )
Sample Output:
4/2/12
4/15/12
4/8/12


 Then copy & paste into FileMaker Advanced's Edit Custom Function window.

Click here to copy To Clip Manager if you have myFMbutler's Clip Manager installed

Description:

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

theYear = the 3 or 4 digit year for which the date of Easter is requested.
method = a number to indicate the calendar 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.

Created 4/5/2012.
Updated 8/1/2012.

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.
================================================

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

This is my Custom Function and I want to edit it

Discuss:

Works well, thanks.

Vaughan, Sydney AUstralia
October 21, 2012 10:59pm

Beautiful!

Thanks.

Johan Söderberg, Sweden
March 02, 2013 3:51pm

Make a comment about this Custom Function (please try to keep it brief & to the point). Anyone can post:

Your Name:
City/Location:
Comment:
characters left. If you paste in more than 1500 characters, it will be truncated. Discuss the function - advertisements and other useless posts will be deleted.
Answer 3 + 4 =
Search for Custom Functions:

Custom Functions Widget
Download the Custom Function Dashboard Widget for OS X
Keep all the latest Custom Functions right at your fingertips!

Newest Custom Functions:

1. ProperAllWords ( text )
  (Thu, Dec 14, 5:19pm)
2. MatchExist ( SourceTable.Field ; DestTable.Field ; ReturnField )
  (Thu, Dec 14, 1:07pm)
3. BVR_Format ( bvr )
  (Wed, Dec 13, 5:32pm)
4. NumberToHexadecimal(NumberValue)
  (Fri, Dec 08, 8:54am)
5. Get_BaseTable
  (Thu, Dec 07, 4:27pm)
6. JSONCreateVarsFromKeys ( json ; namespace )
  (Wed, Dec 06, 8:21pm)
7. GetTableNzme ( field )
  (Tue, Dec 05, 9:16pm)
8. TimeFormatAsText ( theTime )
  (Mon, Nov 13, 1:59pm)

RSS Feed of Custom Functions