set_ems_tz: Set a date-time to the timezone used by EMS

View source: R/data_ops.R

set_ems_tzR Documentation

Set a date-time to the timezone used by EMS

Description

Sets the timezone to PST (UTC -8 hrs; Etc/GMT+8), which is what is used in EMS. Does not change the clock time of the input, rather forces the timezone to be UTC -8 hrs.

Usage

set_ems_tz(x)

Arguments

x

a date-time-like object or character string in a standard unambiguous format (e.g., "YYYY/MM/DD").

Value

POSIXct in the updated timezone.

See Also

lubridate::force_tz(), OlsonNames()


bcgov/rems documentation built on Oct. 14, 2023, 3:04 a.m.