from_utc_timestamp {SparkR}R Documentation

from_utc_timestamp

Description

Assumes given timestamp is UTC and converts to given timezone.

Usage

## S4 method for signature 'Column,character'
from_utc_timestamp(y, x)

from_utc_timestamp(y, x)

See Also

Other datetime_funcs: add_months, add_months; date_add, date_add; date_format, date_format; date_sub, date_sub; datediff, datediff; dayofmonth, dayofmonth; dayofyear, dayofyear; from_unixtime, from_unixtime; hour, hour; last_day, last_day; minute, minute; months_between, months_between; month, month; next_day, next_day; quarter, quarter; second, second; to_date, to_date; to_utc_timestamp, to_utc_timestamp; unix_timestamp, unix_timestamp, unix_timestamp, unix_timestamp; weekofyear, weekofyear; year, year

Examples

## Not run: from_utc_timestamp(df$t, 'PST')

[Package SparkR version 1.6.0 Index]