Check Time Past Since Some Date
Check how many days have passed since a particular date.
Calculate the amount of business days that have passed between a provided date and the current date.
For example:
If the current date was 24-05-21 and the date passed to the action was 17-05-21 the returned value would be 5, representing five business days passed between those two dates.
It is necessary to pass the format of the passed date to the action. Formats are defined by the Moment Js Library (documentation can be found here: https://momentjs.com/docs/#/displaying/format/).
For example:
The date 24-05-21 would require the format DD-MM-YY to be passed.
Action Inputs
Name | Type | Description |
---|---|---|
Time Unit | String | The format of the passed date. |
Past Date | String | The Date against which to measure the time passed |
Action Outputs
Name | Type | Description |
---|---|---|
Success | Boolean | Whether the action succeeded or not |
Units of Time Passed | Number | The amount of business days that have passed |
Updated 12 months ago