$dateDiff
The$dateDiff operator calculates the difference between two dates in specified units.
Input
- An array containing two date objects and a string representing the unit of measurement (“days”, “hours”, “minutes”, “seconds”, “weeks”, “months”, “years”)
Output
- The difference between the two dates in the specified unit
Examples
Calculate Days Difference
5
Calculate Hours Difference
5

