hoursUTC {utc}R Documentation

hoursUTC

Description

This function returns time difference between UTC and Local

Usage

hoursUTC(to_test_time = Sys.time(), timeformat = "%Y-%m-%d %H:%M:%S")

Arguments

to_test_time

only for testing UTC Sys.time()

timeformat

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

Value

number of hours


[Package utc version 0.1.5 Index]