Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

tz_offset

Find the offset from UTC at a particular date/time in a particular time zone


Description

Find the offset from UTC at a particular date/time in a particular time zone

Usage

tz_offset(dt, tz = "")

Arguments

dt

Date, POSIXt or date-like character string

tz

A time zone name from base::OlsonNames(). Not required if dt is a POSIXt object with a time zone component.

Value

a one-row data frame with details of the time zone

Examples

tz_offset("2018-06-12", "America/Moncton")

lutz

Look Up Time Zones of Point Coordinates

v0.3.1
MIT + file LICENSE
Authors
Andy Teucher [aut, cre] (<https://orcid.org/0000-0002-7840-692X>), Bob Rudis [ctb] (<https://orcid.org/0000-0001-5670-2640>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.