time_zone: Function to extract time-zone from a POSIXct date.

Description Usage Arguments Value Author(s) Examples

View source: R/lubridate_supplements.R

Description

Function to extract time-zone from a POSIXct date.

Usage

1

Arguments

date

Date vector

Value

Character vector with a length of one.

Author(s)

Stuart K. Grange

Examples

1
2
3
# A date vector
x <- lubridate::ymd_h("2018-05-05 11", tz = "Europe/Zurich")
time_zone(x)

skgrange/waclr documentation built on Sept. 11, 2019, 3:53 p.m.