Set System Time Zone
dtt_set_sys_tz(tz = NULL) dtt_reset_sys_tz()
tz | A string of the time zone to treat as if its the system time zone. |
---|
A string of the old value.
dtt_reset_sys_tz
: Reset System Time Zone
dtt_reset_sys_tz
and dtt_sys_tz
if (FALSE) { dtt_sys_tz() old <- dtt_set_sys_tz("Etc/GMT+8") dtt_sys_tz() dtt_reset_sys_tz() dtt_sys_tz() dtt_set_sys_tz(old) dtt_sys_tz() }