10.8.10 Difference
Difference returns the number of days between the subject and object days.
Input Parameters
Object - Date to be compared against
Example
The example below will return a value of 1. That is, tomorrow is 1 day after or greater than today.
#DaysDiff := #Tomorrow.Difference(#today)
Reversing the parameters, as below, will give a result of -1. That is, today is one day before or less than tomorrow.
#DaysDiff := #Today.Difference(#Tomorrow)
Ý 10.8 Date Intrinsic Functions