Syntax
RQL
Parameters
| Name | Type | Description |
|---|---|---|
duration | Duration | The duration to truncate. |
precision | Utf8 | The precision to truncate to. |
Return Value
Returns a Duration truncated to the specified precision.
Examples
$ Truncate duration to year
| Name | Type | Description |
|---|---|---|
duration | Duration | The duration to truncate. |
precision | Utf8 | The precision to truncate to. |
Returns a Duration truncated to the specified precision.