olson_time_zones

0th

Percentile

Names of available time zones

The names of all available Olson-style time zones.

Usage
olson_time_zones(order_by = c("name", "longitude"))
Arguments
order_by
Return names alphabetically (the default) or from West to East.
Value

  • A character vector of time zone names.

Note

Olson-style names are the most readable and portable way of specifying time zones. This function gets names from the file shipped with R, stored in file.path(R.home("share"), "zoneinfo", "zone.tab"). ?Sys.timezone has more information.

See Also

Sys.timezone

Aliases
  • olson_time_zones
Examples
olson_time_zones()
olson_time_zones("longitude")
Documentation reproduced from package lubridate, version 1.3.0, License: GPL

Community examples

Looks like there are no examples yet.