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

View source: R/lubridate_supplements.R

time_zoneR Documentation

Function to extract time-zone from a POSIXct date.

Description

Function to extract time-zone from a POSIXct date.

Usage

time_zone(date)

Arguments

date

Date vector.

Value

Vector with a length of one.

Author(s)

Stuart K. Grange

Examples

## Not run: 

# A date vector
time_zone(date_parsed)

# A variable in data frame
time_zone(data_test$date)


## End(Not run)


skgrange/threadr documentation built on May 11, 2024, 12:16 p.m.