to_utc_timestamp {SparkR} | R Documentation |
Given a timestamp, which corresponds to a certain time of day in the given timezone, returns another timestamp that corresponds to the same time of day in UTC.
to_utc_timestamp(y, x) ## S4 method for signature 'Column,character' to_utc_timestamp(y, x)
y |
Column to compute on |
x |
timezone to use |
to_utc_timestamp since 1.5.0
Other datetime_funcs: add_months
,
date_add
, date_format
,
date_sub
, datediff
,
dayofmonth
, dayofyear
,
from_unixtime
,
from_utc_timestamp
, hour
,
last_day
, minute
,
months_between
, month
,
next_day
, quarter
,
second
, to_date
,
to_timestamp
, unix_timestamp
,
weekofyear
, window
,
year
## Not run: to_utc_timestamp(df$t, 'PST')