How can I add a calculation results in time range field (from, to)

  • Profile Image
    Ayman
    Asked on November 16, 2021 at 10:21 AM

    How can I add a calculation results in time range field (from, to)



    This is a re-post of a comment on Mastering Date and Time Calculation

  • Profile Image
    Christian_A
    Answered on November 16, 2021 at 11:31 AM

    Hi there,

    I would like to refer you to the answer of my colleague on the thread below. It already includes form with a preset calculation for time difference that you may clone.

    https://www.jotform.com/answers/1167484-how-can-i-calculate-the-time-difference

    Regards,

  • Profile Image
    Ayman 
    Answered on November 16, 2021 at 11:50 AM

    I'm sorry, it seems I didn't explain what I wanted correctly.

    In my case, I have a time_1 and time_2 (time_2 = time_1 + 3 hours) and I want to fill this result in a condition step in a time field that has the range option is on (from, to)

    1637081361_6193e11151102_Screen Shot 202


    1637081394_6193e1328f093_Screen Shot 202

  • Profile Image
    Kevin_G
    Answered on November 16, 2021 at 03:12 PM

    This is not possible to do on the way you're trying to do, I think there is another way to achieve it using separate fields for the hour and time, but will need some time to test the workaround, I will get back to you as soon as possible.


  • Profile Image
    Kevin_G
    Answered on November 16, 2021 at 09:55 PM

    I have been performing further tests, but I'm afraid that this may not be possible to do, I could not find a way to add hours or minutes to a time field, I tried with conditional logic and calculations, but seems like this is a bit complex, I will proceed opening a feature request for this, we cannot provide an ETA, we will keep you updated via this ticket.