Calculate age in years from birth date - InfoPath Dev Sign in | Join | Help in General InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » General » Calculate age in years from birth date Calculate age in years from birth date Last post 11-03-2010 07:52 AM by Ame1904. 3 replies. Page 1 of 1 (4 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 11-03-2010 07:13 AM Ame1904 Joined on 11-03-2010 Posts 3 Calculate age in years from birth date Reply Contact Sorry if this has already been posted but can someone explain the formula to calculate the age of a person from their birthdate. Have tried a few but none of them work. Probably terribly easy! Thanks in anticipation A Filed under: calculate age from a birthdate, infopath2010 11-03-2010 07:22 AM In reply to princevis Joined on 08-18-2009 Delhi Posts 129 Re: Calculate age in years from birth date Mark as Not AnswerMark as Answer... Reply Contact http://www.bizsupportonline.net/infopath2003/calculating-age-from-date-of-birth-infopath-rules-formulas.htm Try this, this examp[le has worked for me. let me know if u find some issues. Vishal SrivastavaSenior Software EngineerSDG Software Pvt Ltd 11-03-2010 07:25 AM In reply to Jimmy Joined on 07-03-2008 Posts 2,595 Re: Calculate age in years from birth date Mark as Not AnswerMark as Answer... Reply Contact This formula should also work: (substring(today(), 1, 4) - substring(birthDate, 1, 4)) - 1 * (translate(substring(today(), 6, 5), "-", "") < translate(substring(birthDate, 6, 5), "-", "")) Jimmy Rishe / Software Developer / Microsoft MVPQdabra Software 11-03-2010 07:52 AM In reply to Ame1904 Joined on 11-03-2010 Posts 3 Re: Calculate age in years from birth date Mark as Not AnswerMark as Answer... Reply Contact thank you for such a quick reply, works now. Thanks Page 1 of 1 (4 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
Sorry if this has already been posted but can someone explain the formula to calculate the age of a person from their birthdate. Have tried a few but none of them work. Probably terribly easy!
Thanks in anticipation
A
http://www.bizsupportonline.net/infopath2003/calculating-age-from-date-of-birth-infopath-rules-formulas.htm
Try this, this examp[le has worked for me. let me know if u find some issues.
This formula should also work:
(substring(today(), 1, 4) - substring(birthDate, 1, 4)) - 1 * (translate(substring(today(), 6, 5), "-", "") < translate(substring(birthDate, 6, 5), "-", ""))
thank you for such a quick reply, works now. Thanks