View source: R/DbiDateFunctions.R
dateAdd | R Documentation |
This function is provided primarily to be used together with dbplyr
when querying
a database. It will also work in dplyr
against data frames.
dateAdd(interval, number, date)
interval |
Unit for the interval. Can be "day", "week", "month", "year". |
number |
The number of units to add to the date. |
date |
The date to add to. |
A new date.
dateAdd("day", 10, as.Date("2000-01-01"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.