dtt_set_sys_tz: Set System Time Zone

Description Usage Arguments Value Functions See Also Examples

View source: R/tz.R

Description

Set System Time Zone

Usage

1
2
3

Arguments

tz

A string of the time zone to treat as if its the system time zone.

Value

A string of the old value.

Functions

See Also

dtt_reset_sys_tz and dtt_sys_tz

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
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()

## End(Not run)

poissonconsulting/dttr documentation built on Feb. 20, 2021, 12:18 a.m.