fromUTC {utc}R Documentation

fromUTC

Description

Returns local time from UTC time

Usage

fromUTC(utctime, timeformat = "%Y-%m-%d %H:%M:%S")

Arguments

utctime

POSIXct UTC time

timeformat

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

Value

localtime POSIXct local time

Examples

 fromUTC( as.POSIXct("1991-06-29 05:27:25", tz = "UTC") )


[Package utc version 0.1.5 Index]