Evaluates a specified date component in a date value and returns the last date and time in that component as a timestamp. 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:
DateTimeColumn
Context Filtering: ✓ Yes
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
date | column|datetime | ✓ Yes | The date or column of date values from which the date component is extracted. |
precision | text | ✓ Yes | The date component to evaluate for its last date and time. |
precision: year, quarter, month, week
Allowed Column Types: DATETIME, DATE
Validation
- Minimum parameters: 2
- Maximum parameters: 2