Calculating Time in the Builder

Have more questions? Submit a request

Save time in the field and empower your business to make data driven decisions to identify bottlenecks and improve processes. 

Calculating with Time Fields

Calculating time can be sorted into two broad categories: calculating time within a 24 hour period or calculating time across more than one day. 

Calculating Time within One Day

Calculating Time within One Day

Total time onsite is a simple calculation that has multiple practical applications and is a data point that can be used to make data driven decisions and process improvements. This solution requires two Time fields and one Calculation field.

  1. Add two Time fields and a Calculation field to you form using your preferred method.
  2. Label the first time field, "Start Time," the second time field, "End Time," and the calculation field, "Total Time Onsite."
  3. Select "Start Time" to open Field Settings in the left panel. The Style defaults to AM/PM but can be adjusted to another preferred format.
    Builder_Time_Field Settings_Style.png
  4. The Default Value will be Current Time but this can be changed. Determine the best default time based on when the user will complete this form for the best user experience. Current Time for the start of the day or No Default (Blank) for the end of the day. Custom Time may be too specific for most users but could also be edited by the user as long as it is not set to Read Only.
    Builder_Time_Field Settings_Default.png
  5. Select "End Time" to open Field Settings in the left panel. Determine the appropriate Style and Default value.
  6. Select "Total Time Onsite" or the orange triangle beside the field to open Field Settings.
    Builder_Calculating Time_Add Calculation Orange Triangle.png
    • Under Calculation, expand the first drop down and select "End Time."
    • Click the Subtraction symbol to change the operator.
    • Expand the second drop down and select "Start Time."
      Builder_Calculate Time_Total Time Onsite.png
    • Expand the Format drop down to change the format of the calculation from the default to one of the time formats: HH:MM, HH:MM:SS, or MM:SS.
      Builder_Time_Field Settings_Format.png
  7. Save and Publish to test it on mobile.
Calculating Time Across Days

Calculating Time Across Days

Calculating time across several days is also possible with a simple expansion to the calculation. This solution requires two Date fields, two Time fields, and one Calculation field.

  1. Add two Date fields, two Time fields (alternating Date and Time), and a Calculation field to you form using your preferred method.
  2. Label the first date field, "Start Date," the first time field, "Start Time," the second date field, "End Date," the second time field, "End Time," and the calculation field, "Total Time Onsite."
  3. Select "Start Date" to open Field Settings in the left panel. The Style defaults to MM/DD/YYYY but can be adjust to another preferred format.
    Builder_Date_Field Settings_Style.png
  4. The Default Value will be Current Date but this can be changed. Determine the best default date based on when the user will complete this form for the best user experience. Current Date for the same day or No Default (Blank) for a different day.
    Builder_Date_Field Settings_Default.png
  5. Select "Start Time" to open Field Settings in the left panel. The Style defaults to AM/PM but can be adjusted to another preferred format.
    Builder_Time_Field Settings_Style.png
  6. The Default Value will be Current Time but this can be changed. Determine the best default time based on when the user will complete this form for the best user experience. Current Time for the start of the day or No Default (Blank) for the end of the day. Custom Time may be too specific for most users but could also be edited by the user as long as it is not set to Read Only.
    Builder_Time_Field Settings_Default.png
  7. Select "End Date" to open Field Settings in the left panel. Determine the appropriate Style and Default value.
  8. Select "End Time" to open Field Settings in the left panel. Determine the appropriate Style and Default value.
  9. Select "Total Time Onsite" or the orange triangle beside the field to open Field Settings.
    Builder_Calculating Time Across Days_Add Calculation Orange Triangle.png
    • Under Calculation, expand the first drop down and select "End Date."
    • Leave the operator as Addition.
    • Expand the second drop down and select "End Time."
    • Click Add Value.
    • Click the Subtraction symbol to change the operator.
    • Expand the third drop down and select "Start Date."
    • Click Add Value.
    • Click the Subtraction symbol to change the operator.
    • Expand the fourth drop down and select "Start Time."
      Builder_Calculate Time Across Days_Total Time Onsite.png
    • Expand the Format drop down to change the format of the calculation from the default to one of the time formats: HH:MM, HH:MM:SS, or MM:SS.
      Builder_Time_Field Settings_Format.png
  10. Save and Publish to test it on mobile.

Calculation Time Formats on Mobile

24 Hour AM/PM
iOS_Time Calculations_24 Hour.png

Did we answer your question?

We'd really appreciate your feedback! Please leave your suggestions for improvement in the comments or let us know what you're looking for so we can assist you better. We want to help, but we need to understand your needs!

Articles in this section

Share

Comments

0 comments

Please sign in to leave a comment.