Brian Dunning's FileMaker Custom Functions

years ( date1 ; date2 )

gets the years between two dates

  Average rating: 4.3 (28 votes) Log in to vote

Bailey Kessing   Bailey Kessing

Share on Facebook Share on Twitter

  Sample input:
years ( "12/18/1961" ; Get ( CurrentDate )) )
  Sample output:

  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.



Log in to post comments.


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

Under construction. Email me your wish list for improvements.