Age calculation in years

  • ksedler
    Asked on December 13, 2020 at 10:56 AM

    I need to calculate the exact age (full years) of a person. I have inserted two date picker controls, on with DOB of the person and one with today's date. The difference between is the formula for my age field (a numeric control). But the age now comes in days, not in years. Is there an easy way to show the difference in full years?

  • Girish JotForm Support
    Replied on December 13, 2020 at 11:06 AM

    You may use a Form calculation widget and use the floor() function with the following formula to get the age in years:

    1607875496 5fd63ba8706e1 1312 12 Screenshot 10

    Here is a demo form: https://form.jotform.com/203473971731054

    You may clone this form into your account and check if required: https://www.jotform.com/help/42-how-to-clone-an-existing-form-from-a-url

  • ksedler
    Replied on December 13, 2020 at 11:21 AM

    Thank you, Gerard. It's not a quite exact calculation - but sufficient for me.

    Another questions to your plans. Is "FREE" for 100 submissions at all, our 100 submissions per month?

  • John Support Team Lead
    Replied on December 13, 2020 at 11:31 AM

    Another questions to your plans. Is "FREE" for 100 submissions at all, our 100 submissions per month?

    That would be 100 submissions per month. This limit resets every 1st day of the following month. You may refer to this guide on understanding-your-account-usage-and-limits.