What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How can I easily convert a decimal to hours and minutes within a form?

    Asked by david.taylor on June 08, 2015 at 11:48 AM

    I'm trying to get each person to fill in a start time, and end time and then for a result to show how many hours and minutes it has taken for that task.

     

    For example Joe bloggs starts at 2:00 and finishes at 03:30. I can get the result to a decimal place, but then can't get it to convert to hours and minutes.

     

    I'm sure this is easy peasy but I can't get there. Any ideas??

     

    Thanks!

    Page URL:
    http://www.jotform.com/?formID=51584236615356

    and decimal hours how
  • Profile Image
    JotForm Support

    Answered by david on June 08, 2015 at 01:17 PM

    Hi,

    I do not believe it is possible to convert a decimal number into a time format.  It is possible to compare two different times as you have seen but once the number is converted into a decimal, I don't think it is possible to convert that back to hours and minutes.