dateAdd
Returns date that results from adding amt days to td, as a string in “MM/DD/YYYY” format.
Version
1.3
Parameters
Parameter | Type | Description |
---|---|---|
td | string | Starting date, in format “MM/DD/YYYY” (or any string that converts to JS date). If null is used, td is the current date. |
amt | integer | Number of days to add to td. Use negative number (e.g. –20) to subtract days from td. |
workDays (optional) | string | ‘Y’ if amt workdays should be added to td. Omit if amt calendar days should be added to td. |
Notes
Does not work if date is wfDate. Returns NaN/NaN/NaN.