Showing results for 
Search instead for 
Did you mean: 

Calculate Difference Between Two Date/Time Values Using Calculated Value Control


To calculate the difference between two date/time using calculated value in the form, so that users can be able to see the difference when the view item.


Create Form Variable and show that variable into calculated value control. please follow below steps:

  1. Create Form Variable
    1. Click on Form Variable button
    2. Click on formula, it should give you Formula Builder
    3. Select Runtime Functions
    4. Select either dateDiffDays, dateDiffHours or dateDiffMinutes, it depends on which formate you want
    5. Put your both date values
    6. Click Ok
  2. Add Calculated Value control on the form and add newly created variable into formula
  3. Publish form and it should work

Labels: (2)
Tags (2)
Version history
Revision #:
23 of 23
Last update:
‎03-12-2019 02:40 PM
Updated by: