SYSTEMZ Documentation > Workflow Actions > Operations > Find Interval Between Dates

Find Interval Between Dates

Add action

Use context menu or action toolbox to add Find Interval Between Dates action to workflow scheme.

  • Click on the area with (Edit) icon on the scheme and:
  • Select category Operations;
  • Choose Find Interval Between Dates.
  • In action toolbox:
  • Select category Operations;
  • Drag and drop Find Interval Between Dates action to the area with (Edit) icon on the workflow scheme.

Configure action

Open action configuration dialog to edit action properties:

  • Open action context menu on the scheme and choose Edit;
  • Or double click the action on the scheme.

Action properties

Use configuration dialog to edit action properties:

Property Description
Title Defines action title.
By default the title is action type name.
Unit Calculate result in:

  • Days;
  • Working days;
  • Hours;
  • Minutes.
Start date Start date and time of the interval.
End date End date and time of the interval.
Output Variable to store the result of the calculation
Only variables of type Integer are available for this property.

Examples

Find the difference in hours between two dates:

Find the difference in working days between two dates:

If unit is “Workfing days” the regional settings of the current SharePoint site and data from “ZFlow Calendar” list are used to get working days.