dtt_set_tz: Set Time Zone

Description Usage Arguments Value See Also Examples

View source: R/tz.R

Description

Sets the time zone without adjusting the time.

Usage

1

Arguments

x

A POSIXct vector.

tz

A string of the new time zone.

...

Unused.

Value

The POSIXct vector with the new time zone.

See Also

dtt_adjust_tz

Examples

1
dtt_set_tz(Sys.time(), tz = "UTC")

poissonconsulting/dttr documentation built on Feb. 20, 2021, 12:18 a.m.