Skip to content
Prev 62204 / 63421 Next

round.Date and trunc.Date not working / implemented

Maybe he meant

r$> Sys.time() |> round.POSIXt("years")
[1] "2024-01-01 CET"

r$> Sys.Date() |> round.POSIXt("years")
[1] "2024-01-01 UTC"

The only difference is the timezone