The possible units values are 'seconds', 'minutes', 'hours', 'days', 'months' or 'years'.
dtt_floor(x, units, ...)
Arguments
x |
A Date or POSIXct vector. |
units |
A string of the units to floor by. |
... |
Unused. |
Value
The floored Date or POSIXct vector.
Examples
#> [1] "2020-03-05 13:00:00 PST"