utc_to_local.Rd
Given an input data frame that already has UTC datetimes, add another datetime column giving the local time
utc_to_local(x, utc_var, tz = "America/Los_Angeles")
input data must contain a column that gives the UTC times to be converted to local
name of variable (in x
) that gives the UTC times
desired time zone name -- for example the default, 'America/Los_Angeles'
data.frame x
with one added column called local_time
# Examples will go here