stri_timezone_info | R Documentation |
Provides some basic information on a given time zone identifier.
stri_timezone_info(tz = NULL, locale = NULL, display_type = "long")
tz |
|
locale |
|
display_type |
single string;
one of |
Used to fetch basic information on any supported time zone.
For more information on time zone representation in ICU,
see stri_timezone_list
.
Returns a list with the following named components:
ID
(time zone identifier),
Name
(localized human-readable time zone name),
Name.Daylight
(localized human-readable time zone
name when DST is used, if available),
Name.Windows
(Windows time zone ID, if available),
RawOffset
(raw GMT offset, in hours, before taking
daylight savings into account), and
UsesDaylightTime
(states whether a time zone uses
daylight savings time in the current Gregorian calendar year).
Marek Gagolewski and other contributors
The official online manual of stringi at https://stringi.gagolewski.com/
Gagolewski M., stringi: Fast and portable character string processing in R, Journal of Statistical Software 103(2), 2022, 1-59, \Sexpr[results=rd]{tools:::Rd_expr_doi("10.18637/jss.v103.i02")}
Other datetime:
stri_datetime_add()
,
stri_datetime_create()
,
stri_datetime_fields()
,
stri_datetime_format()
,
stri_datetime_fstr()
,
stri_datetime_now()
,
stri_datetime_symbols()
,
stri_timezone_get()
,
stri_timezone_list()
Other timezone:
stri_timezone_get()
,
stri_timezone_list()
stri_timezone_info()
stri_timezone_info(locale='sk_SK')
sapply(c('short', 'long', 'generic_short', 'generic_long',
'gmt_short', 'gmt_long', 'common', 'generic_location'),
function(e) stri_timezone_info('Europe/London', display_type=e))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.