Do you want to calculate how many hours there are in between different Time Fields? Or days or years in between two different Date Fields? With the Gravity Forms Date Time Calculator Add-on from Gravity Perks you can easily do that.
Calculating seconds, minutes, hours in between Time Fields
The Add-on adds extra Merge Tags that are availabe for Number Field calculations. In this example we’ve added the End Time Merge Tag and substracted the Start Time Merge Tag.

Once you add a Time Field Merge Tag to your calculations, an extra dropdown comes available to pick how you want to show the result: Seconds, Minutes, Hours, Days, Weeks, Months, Years.

Calculating days, months, years in between Date Fields
With the same approach you can calculate the difference in between Gravity Forms Date Fields:

Rounding minutes, hours, days, months, years
With the Advanced Number Field Add-on you can easily round the calculation result.

You can also add a Custom Unit to the calculation Number Field (like hours, days):

Which will result in:

Our Premium add-ons for Gravity Forms
Entry to Database
Integrates Gravity Forms with internal or external databases, offering flexible mapping of form fields to database columns and real-time synchronization between entries and database rows.
Advanced Number Field
Functionality for Number Fields, like rounding or only absolute numbers, fixed point notation, range calculation, custom units like % or m2 & show as slider.
Field to Entries
Create entries based on Checkboxes & Multi Select choices & List Field rows.
List Text
Add features like textarea, placeholder and custom validation to a column or multiple columns in a Gravity Forms List Field.
Read tutorials about
Gravity Forms Discount Code Field: Apply Fixed or Percentage Discounts in a Form
Learn how to create a Gravity Forms discount code field that applies fixed or percentage discounts. This tutorial shows how to calculate subtotals, discount amounts, and final totals using tested form logic.
Gravity Forms Zoom Integration: Create Zoom Meetings From Booking Forms
Learn how to connect Gravity Forms to Zoom without Zapier using GravityWP API Connector. This step-by-step tutorial shows how to create Zoom meetings from booking form submissions and save the returned meeting details back to Gravity Forms.
Gravity Forms monday.com Integration: Create New Items From Form Submissions
Learn how to connect Gravity Forms to monday.com without Zapier using GravityWP API Connector. This step-by-step tutorial shows how to create new monday.com items from form submissions and save the returned monday.com item ID back to Gravity Forms.
Gravity Forms Pipedrive Integration: Send Form Contacts to Pipedrive Without Zapier
Learn how to connect Gravity Forms to Pipedrive without Zapier using GravityWP API Connector. This step-by-step tutorial shows how to send form contacts, custom fields, and the returned Pipedrive Person ID directly from WordPress to Pipedrive CRM.