dtt_tz {dttr2}R Documentation

Get, Set or Adjust Time Zone

Description

Gets, sets or the time zone for a date time vector.

Usage

dtt_tz(x, ...)

## S3 method for class 'POSIXct'
dtt_tz(x, ...)

Arguments

x

A date time vector.

...

Unused.

Value

A string of the time zone.

Methods (by class)

Examples

dtt_tz(as.POSIXct("1970-01-01", tz = "Etc/GMT+8"))

[Package dttr2 version 0.3.0 Index]