powered by
Given a timestamp, which corresponds to a certain time of day in UTC, returns another timestamp that corresponds to the same time of day in the given timezone.
from_utc_timestamp(y, x)# S4 method for Column,character from_utc_timestamp(y, x)
# S4 method for Column,character from_utc_timestamp(y, x)
Column to compute on.
time zone to use.
Other datetime_funcs: add_months, date_add, date_format, date_sub, datediff, dayofmonth, dayofyear, from_unixtime, hour, last_day, minute, months_between, month, next_day, quarter, second, to_date, to_utc_timestamp, unix_timestamp, weekofyear, window, year
add_months
date_add
date_format
date_sub
datediff
dayofmonth
dayofyear
from_unixtime
hour
last_day
minute
months_between
month
next_day
quarter
second
to_date
to_utc_timestamp
unix_timestamp
weekofyear
window
year
# NOT RUN { from_utc_timestamp(df$t, 'PST') # }
Run the code above in your browser using DataLab