date_add {SparkR}R Documentation

date_add

Description

Returns the date that is 'days' days after 'start'

Usage

## S4 method for signature 'Column,numeric'
date_add(y, x)

date_add(y, x)

See Also

Other datetime_funcs: add_months, add_months; date_format, date_format; date_sub, date_sub; datediff, datediff; dayofmonth, dayofmonth; dayofyear, dayofyear; from_unixtime, from_unixtime; from_utc_timestamp, from_utc_timestamp; 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: date_add(df$d, 1)

[Package SparkR version 1.6.0 Index]