Syntax
RQL
Parameters
| Name | Type | Description |
|---|---|---|
date_value | Date | The date to truncate. |
precision | Utf8 | The precision to truncate to (e.g., month, year). |
Return Value
Returns a Date truncated to the specified precision.
Examples
$ Truncate date to year
| Name | Type | Description |
|---|---|---|
date_value | Date | The date to truncate. |
precision | Utf8 | The precision to truncate to (e.g., month, year). |
Returns a Date truncated to the specified precision.