The DATEDIFF function returns the number of days between two input dates. The input dates should be in MM/DD/YYYY format. Node references are also accepted as arguments.
datediff(fromDate, toDate)
fromDate – The start date of the interval.
toDate – The end date of the interval.
Number
datediff('8/16/2023', '8/2/2023')
Returns 14.
Was this helpful?