Brian Dunning's FileMaker Custom Functions

Easter ( myDate )

Show when Easter falls in the calendar year for any given date.

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

Mike Duncan   Mike Duncan
Duncan Creations
http://www.duncancreations.com

Share on Facebook Share on Twitter

  Sample input:
Easter ( fields::date )
  Sample output:
4/11/2004

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

A custom function for figuring when Easter falls in any given year, is based on the algorithm of Oudin (1940). More information can be found about the calculation at <http://tech.irt.org/articles/js052/>. In fact, the custom function used in this example was copied from that page with little modification.

I created an additional custom function:
floor.math (num)
Floor ( num )

In order to copy/paste in code with little modification. This really shows the power of the Let function.

 

Comments

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.

Under construction. Email me your wish list for improvements.