Syntax
RQL
Parameters
| Name | Type | Description |
|---|---|---|
date1 | Date/Timestamp | The first (later) date |
date2 | Date/Timestamp | The second (earlier) date |
unit | Utf8 | The unit of time to return (e.g., "days", "hours") |
Return Value
Returns a number representing the difference between the two dates in the specified unit.
Examples
$ Calculate difference between dates
