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.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 15 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: