Brian Dunning's FileMaker Custom Functions

AccurateAge ( start ; end )

Calculate Age in Years and Days Accurately

  Average rating: 5.0 (1 vote) Log in to vote

Tom Gellar   Tom Gellar
N/A
http://gellar.us

Share on Facebook Share on Twitter

  Sample input:
AccurateAge ( "7/4/1776" ; "2/13/2018" ) // age of the USA on date of this upload
  Sample output:
241 years 224 days

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

AccurateAge accurately calculates the period of time between any two dates and displayed in the form of "x years y days".
It also handles leap years in the start or end dates.
Can be used to determine age, shelf life, duration, time to expiration, etc. Basically any period between two dates.

 

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.