toGMT: Local time to GMT

Description Usage Arguments Value Examples

View source: R/toGMT.R

Description

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

Usage

1

Arguments

time

Time, a POSIXct object.

Value

A a POSIXct object, in GMT.

Examples

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

shadow documentation built on March 15, 2021, 1:07 a.m.

Related to toGMT in shadow...