Gets, sets or the time zone for a date time vector.
dtt_tz(x, ...)
# S3 method for POSIXct
dtt_tz(x, ...)
A date/time vector.
Unused.
A string of the time zone.
dtt_tz(POSIXct)
: Get the time zone for a POSIXct vector.
Other tz:
dtt_adjust_tz()
,
dtt_set_tz()
,
dtt_sys_tz()
dtt_tz(as.POSIXct("1970-01-01", tz = "Etc/GMT+8"))
#> [1] "Etc/GMT+8"