toGMT: Local time to GMT

View source: R/toGMT.R

toGMTR Documentation

Local time to GMT

Description

The function transforms a POSIXct object in any given time zone to GMT.

Usage

toGMT(time)

Arguments

time

Time, a POSIXct object.

Value

A a POSIXct object, in GMT.

Examples

time = as.POSIXct("1999-01-01 12:00:00", tz = "Asia/Jerusalem")
toGMT(time)


michaeldorman/shadow documentation built on Sept. 10, 2023, 4:17 a.m.