|     | 
INTERVAL function
Returns the time interval between two DATE, DATETIME, or DATETIME-TZ values as an INT64 value.
Syntax
datetime1datetime2interval-unitNotes
- This function returns a signed integer value (positive or negative). For example, if
datetime1is less thandatetime2, the INTERVAL function returns a negative value.- If
datetime1ordatetime2is a DATE or DATETIME, the time value defaults to midnight and the time zone value defaults to the session's time zone, respectively.- You are responsible for managing value overflow, if any.See also
– Date subtraction operator, – Datetime subtraction operator, ADD-INTERVAL function, DATE function, DATETIME function, DATETIME-TZ function
|  | 
| OpenEdge Release 10.2B | 
|     |