Return the difference between 2 times in seconds
Member of Time Intrinsic Functions (PRIM_LIBI.ITimeIntrinsics)
Name | Type | Data Type | Description |
---|---|---|---|
Result | *Result (Optional) | Integer | Resulting number |
Object | *Input (Optional) | Time | Time to be compared to |
Difference returns the number of seconds between the Object time and the subject.
In this example, if #Now is 12:34:56 and #Then is 10:34:56, the result would be 7200 i.e 2 hours later.
#Result := #Now.Difference(#Then)
If the parameters were reversed, the result would be -7200 i.e. 2 hours before
Febuary 18 V14SP2