Description Usage Arguments Value Examples
function to add or subtract periods to dates
1 | addPeriodToDate(initialDate, period, numPeriods)
|
initialDate |
valid date in the YYYY-MM-DD format |
period |
a character string, one of "days", "weeks", "months" or "years" |
numPeriods |
an integer (can be negative) specifying the number of periods to add (or subtract) |
a date; note: this will account for leap years, if Feb 29 is passed, it will default to Feb 28th for non-leap years
1 | none
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.