timeRound - Rounds a timestamp to a given interval
Deprecated: use roundTime
instead
timeRound
is a deprecated function for lowering the precision of timestamp
values to a desired interval.
Syntax
Arguments
Name | Type | Required | Description |
---|---|---|---|
date | timestamp | true | The timestamp to round |
interval | interval | true | The interval that represents the desired precision of the timestamp |
Theme
Light