| tz_name | R Documentation |
Generic function to extract the timezone from objects that have timezone information.
tz_name(x, ...)
x |
An object with timezone information. |
... |
Additional arguments passed to methods. |
A character vector representing the timezone of each time point (e.g., "America/New_York", "UTC").
tz_name(Sys.time())
tz_name(as.POSIXct("2024-06-15 12:00:00", tz = "America/New_York"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.