Plugin Mode

Calculating Time

Summary

When you enter or change the start time or end time, or when you save, calculate the difference between them and set it into a field.

Smartphone support

This plugin does not support smartphones. Use it on a computer.

How to use

Choose the start and end time fields and the unit for their difference. Select a field to store the calculated duration.

When it runs

Depending on the settings, this customization runs at the following times. Any configured conditions are also evaluated.

  • When you edit and change a target field value
  • Immediately before saving a record
  • Immediately before saving or deleting a record

The page-display and field-change triggers exclude inline editing from the pencil icon on the list page.

Parameters

Enter or select a value for each setting unless it is marked optional.

Start Time

Select one field.

The following field types can be selected.

  • Time
  • Date and time

End Time

Select one field.

The following field types can be selected.

  • Time
  • Date and time

Unit

Choose the unit for the difference between the start and end times.

Available options:

  • Hours
  • Minutes

Fields to Set

Select one field.

The following field types can be selected.

  • Text
  • Number
  • Text area
  • Rich text

The following actions and conditions are useful when building similar behavior in customization mode.

Actions

Conditions