Function Reference
— Function File: d = addtodate (d, q, f)

Add q amount of time (with units f) to the datenum, d.

f must be one of "year", "month", "day", "hour", "minute", or "second".

See also: datenum datevec