Description Usage Arguments Examples
Translate formatted timezones codes to the so-called "Olson names" used by
POSIXct. TransTz
translates the formatted timezone codes (incl those
from USGS) to Olson Names.
1 | TransTz(tz)
|
tz |
The timezone to be translated. |
1 2 3 4 5 6 | as.POSIXct('2012-01-01')
as.POSIXct('2012-01-01', tz='US/Pacific')
format(as.POSIXct('2012-01-01', tz='US/Pacific'),'%Z')
TransTz(format(as.POSIXct('2012-01-01', tz='US/Pacific'),'%Z'))
lubridate::with_tz(as.POSIXct('2012-01-01'),
TransTz(format(as.POSIXct('2012-01-01', tz='US/Pacific'),'%Z')))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.