FUNCTION REFERENCE
addtodate
Add a quantity to serial date numbers.
Add a quantity to serial date numbers.
Syntax
R = addtodate(D, Q, field)field is 'year', 'month', 'day', 'hour', 'minute', 'second' or 'millisecond';
Q is a scalar or has the size of D. Adding years or months keeps the day of the
month and the time, limited to the last day of the new month, so 31-Jan-2016
plus one month is 29-Feb-2016; Q must then be an integer.
Example
addtodate(736390, 1, 'month') % 736421Differences from MATLAB: none known.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.