This function subtracts two timestamps using a JWT calendar. The time time difference will be returned in milliseconds.
Bash
timeDifference(firstDate, dateToSubtract, calendarName, timeZone) #Output: Number
Variant of the function where you can define an additional JWT calendar specification.
Bash
timeDifference(firstDate, dateToSubtract, calendarName, additionalSpecifier, timeZone) #Output: Number
📚 Use cases and examples
| Use case | JWT feature | Workflow function | Field type | Automated action | Parser functions |
|---|---|---|---|---|---|
| Difference between two dates in business days |
(input latin letters) |
Text | formatWorkDuration() timeDifference() | ||
| Automatically log work spent in a specific status |
|
timeDifference() |