Plugin Mode

Calculate Days from Date

Summary

Click the button to calculate the number of days between a start date and an end date, and set the result into a field.

Smartphone support

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

How to use

Choose the start and end dates and a field for the calculated number of days. Use this when the length of a period is needed as a numeric value.

When it runs

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

  • When you open a record creation, edit, or details page
  • When you click a button added by this plugin

Click the button added by this customization to run the operation.

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 Date

Please select a start date.

The following field types can be selected.

  • Date
  • Date and time

End Date

Please select a end date.

The following field types can be selected.

  • Date
  • Date and time

Fields to Set

Please select the field to set the number of days for the calculation results.

The following field types can be selected.

  • Text
  • Number
  • Text area
  • Rich text

Restrictions

Specify different values for “Start Date” and “End Date”.

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

Actions

Conditions