Brian Dunning's FileMaker Custom Functions

age ( birthday )

calculates the correct age

  Average rating: 3.4 (39 votes) Log in to vote

Bailey Kessing   Bailey Kessing - Show more from this author
NCI-Frederick
http://kessing.com

Share on Facebook Share on Twitter

  Sample input:
age ( "12/18/1961" )
  Sample output:
44

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

The previous submissions seem to all be in error for age. See if this does the trick.

 

Comments

Daniel A. Shockley   Daniel A. Shockley, New York, NY
May 4, 2011
This will often be wrong on the day of the person's birthday anniversaries.

For example:

Date of Birth = 5/4/2008
Today = 5/4/2011

This function returns 2, when the correct age is clearly 3.
 
messi   messi, iraq
Aug 29, 2017
thanx...
 

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 20 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: