powered by
This function is provided primarily to be used together with dbplyr when querying a database. It will also work in dplyr against data frames.
dbplyr
dplyr
dateAdd(interval, number, date)
A new date.
Unit for the interval. Can be "day", "week", "month", "year".
The number of units to add to the date.
The date to add to.
dateAdd("day", 10, as.Date("2000-01-01"))
Run the code above in your browser using DataLab