DRAFTThis page is not published. Only visible in development mode.
time module

time::trunc

Truncate a time to a specified precision.

Syntax

RQL

Parameters

NameTypeDescription
time_valueTimeThe time value to truncate
precisionUtf8The precision to truncate to

Return Value

Returns a Time value truncated to the specified precision.

Examples

$ Truncate to hour precision
$ ctrl+enter to run

Related Functions