This section contains reference documentation for the round function.
Round the given time value to nearest bucket start value.
round(timeValue, bucketSize)
Round seconds epoch value to the start value of the 30 seconds bucket to which it belongs.
rounded |
---|
Round milliseconds epoch value to the start value of the 5,000 milliseconds bucket to which it belongs.
rounded |
---|
1639144260
1639144270000