How to calculate a person’s age as of July 1, 2025?

  • Profile Image
    BFISCCompConvenor
    Asked on October 2, 2025 at 9:40 AM

    Hi,


    I am wanting to calculate someones age as at a certain date. I am not sure how I can go about that. everyone has to put in their DOB when using the form but I need to know how old they as at 1st of July 2025. I woould like the form to calculate this in a hidden field for reporting.


  • Profile Image
    Eduarda JotForm Support
    Replied on October 2, 2025 at 10:24 AM

    Hi BFISCCompConvenor,

    Thanks for reaching out to Jotform Support. You can use Date Picker and Form Calculation Widget. Here’s all you need to do:

    1. In Form Builder, click on the Add Form Element button on the left side of the page.

    2. Under the Basic tab, drag and drop two Date Picker to your form.

    3. Now, click on the Widgets tab, and drag and drop one Form Calculator to your form.

    4. Then, click on the fields to change the Title as the screencast below:

    How to calculate a person’s age as of July 1, 2025? Image 1 Screenshot 80 Now, let's adjust the Reference Date field, it's easy, let me show you how:

    1. Select the Reference Date field, and click on the Gear icon, on the next right.

    2. In the right panel, click on the Options tab.

    3. Then, click on the Custom button, under the Default Date field, and configure the date.

    How to calculate a person’s age as of July 1, 2025? Image 2 Screenshot 91

    4. Now, click the Advanced tab in the right panel.

    5. Then, toggle the Hide Field option to ON.

    How to calculate a person’s age as of July 1, 2025? Image 3 Screenshot 102 Now, let's adjust the Age as of 01/07/2025 field, it's easy, let me show you how:

    1. Now, click on the field, then click the Wand icon.

    2. Then, configure the settings as shown in the screenshot below.

    3. At the bottom of the page, click the Save button.

    How to calculate a person’s age as of July 1, 2025? Image 4 Screenshot 113

    4. To the right of the field, click the Gear icon.

    5. In the panel that opens on the right, go to the Advanced tab and toggle ON the Hide Field option.

    How to calculate a person’s age as of July 1, 2025? Image 5 Screenshot 124 You can also check my Demo Form, test and clone it. Cloning an Existing Form From a URL is easy. Let me walk you through it:

    1. On your My Workspace page, click on Create on the top-left side of the page.

    2. Select Form from the assets, and then click on Import Form.

    How to calculate a person’s age as of July 1, 2025? Image 6 Screenshot 135

    3. In the next window, click on From a Web Page

    4. Paste the form link into the Enter URL field and click on Create Form.

    How to calculate a person’s age as of July 1, 2025? Image 7 Screenshot 146 After cloning your form, it will open in Form Builder automatically. You can now edit it the way you want and publish it.

    Give it a try and let us know if you need any other help.

Your Reply