Syntax
RQL
Parameters
| Name | Type | Description |
|---|---|---|
datetime_value | Datetime | The datetime to truncate |
precision | Utf8 | The precision to truncate to (e.g. "hour", "day") |
Return Value
Returns a Datetime truncated to the specified precision.
Examples
$ Truncate datetime to hour
