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 Duncan Creations http://www.duncancreations.com |
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
Richard Dyce, Dyce & Sons Ltd. Jan 8, 2020 |
||
Perhaps you mean 'floor' and not 'math.floor'? Also, for holiday calculations, it's worth pointing out that it's Easter Sunday, so Good Friday and Easter Monday are -2 and + 1 days respectively. | ||
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.