toUTC {utc}R Documentation

toUTC

Description

Returns UTC time from local time

Usage

toUTC(localtime, timeformat = "%Y-%m-%d %H:%M:%S")

Arguments

localtime

POSIXct local time

timeformat

string format of local time, by default it will be "%Y-%m-%d %H:%M:%S"

Value

utctime POSIXct UTC time


[Package utc version 0.1.5 Index]