Calculates the time difference between two dates. Category:Documentation Index
Fetch the complete documentation index at: https://docs.anlytic.com/llms.txt
Use this file to discover all available pages before exploring further.
date
Syntax:
IntColumn
Context Filtering: ✓ Yes
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
unit | text | ✓ Yes | The unit to measure the difference. |
start | column|datetime | ✓ Yes | The starting date (use Date() to convert if needed). |
end | column|datetime | ✓ Yes | The ending date (use Date() to convert if needed). |
unit: year, quarter, month, week, day, hour, minute, second, millisecond
Allowed Column Types: DATETIME, DATE
Validation
- Minimum parameters: 3
- Maximum parameters: 3
Examples
8
103