addtodate
- :
d2 =addtodate(d, q, unit)¶ Add q calendar units to the serial date d.
unit is one of
"year","month","day","hour","minute","second"or"millisecond"(case-insensitive). Adding years or months keeps the day of the month, limited to the last day of the target month, and leaves the time of day unchanged.