dst.to.est: converts Eastern Daylight Saving time (EDT) to Eastern...

View source: R/dst.to.est.R

dst.to.estR Documentation

converts Eastern Daylight Saving time (EDT) to Eastern Standard Time (EST)

Description

converts Eastern Daylight Saving time (EDT) to Eastern Standard Time (EST)

Usage

dst.to.est(x, to.tzone = "EST")

Arguments

x

Date (as.POSIXct)

Value

Helper function to convert EDT to EST date-time fields

Examples

datetime=as.POSIXct(c("2015-05-01 08:00:00","2015-10-15 12:00:00","2015-10-15 5:00:00"))
dst.to.est(datetime)

SwampThingPaul/AnalystHelper documentation built on March 29, 2024, 6:41 p.m.