years ( date1 ; date2 )
gets the years between two dates
Average rating: 4.3 (28 votes) Log in to vote
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Calculates the years between any two dates, like birthday and current date for getting the age of a person. But does it correctly, taking into consideration leap year, etc. Others I have seen have not been correct.
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.