How would you calculate age based off a birth date?

  • Profile Image
    mpfeil
    Asked on August 03, 2015 at 02:50 PM

    How would you calculate age based off a birth date?

  • Profile Image
    Mike
    Answered on August 03, 2015 at 04:06 PM

    Thank you for contacting us.

    We can use the following formula to calculate the age.

    floor ( (CurrentDate - BirthDate) / 365.242 )

    Please see the next animation.

    In this case we assume that year is by average 365.242 days to consider the leap years. The formula is not 100% correct, but it should work in most of the cases.

    If you need any further assistance, please let us know.

  • Profile Image
    mpfeil
    Answered on August 03, 2015 at 06:19 PM
    No go



    ...