R/tz.R
dtt_set_tz.Rd
Sets the time zone without adjusting the time.
dtt_set_tz(x, tz = dtt_sys_tz(), ...)
A POSIXct vector.
A string of the new time zone.
Unused.
The POSIXct vector with the new time zone.
dtt_adjust_tz
dtt_set_tz(Sys.time(), tz = "UTC")#> [1] "2020-03-05 13:40:02 UTC"