dates
Construct a sequence of dates with equal increments.
y=dates(first,inc,last)
Inputs
first The first date, as an integer array of the form [year, month, day] .
inc The specified difference, in days, between the successive dates in the output array.
last The last date, as an integer array of the form [year, month, day] .
Outputs
y An array of dates of which the first one is the first input, and all the elements are inc days apart.


Description
If inc is positive, all the dates in the output are before or the same as the input last . If inc is negative, all the dates in the output are after or the same as the input last .