dtt_tz: Get, Set or Adjust Time Zone

View source: R/tz.R

dtt_tzR 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)

  • dtt_tz(POSIXct): Get the time zone for a POSIXct vector.

See Also

Other tz: dtt_adjust_tz(), dtt_set_tz(), dtt_sys_tz()

Examples

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

dttr2 documentation built on Sept. 26, 2024, 1:06 a.m.