Return the difference between 2 dates in days
Member of Date Intrinsic Functions (PRIM_LIBI.IDateIntrinsics)
Name | Type | Data Type | Description |
---|---|---|---|
Result | *Result (Optional) | Integer | Resulting number |
Object | *Input (Optional) | Date | Date to be compared to |
Difference returns the number of days between the subject and object days in days.
This example will return a value of 1.
#Result := #Tomorrow.Difference(#Today)
Reversing the parameters results in a negative difference of -1. i.e One day before.
#Result := #Today.Difference(#Tomorrow)
Febuary 18 V14SP2