Description Usage Arguments Examples
View source: R/fluxnet15_utils.R
Extract the timezone attribute from POSIXct with default on missing
1 | get_tzone(x, default = "GMT")
|
x |
POSIXct vector |
default |
time zone returned, if x has not timezone associated or attribute is the zero string |
1 2 3 4 | get_tzone(as.POSIXct("2010-07-01 16:00:00", tz = "etc/GMT-1") )
get_tzone(as.POSIXct("2010-07-01 16:00:00") )
# printed with local time zone, but actually has no tz attribute
get_tzone(Sys.time())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.