about addtodate function using?
Show older comments
datevec(addtodate(datenum(['1/1/2008']),102,'day'))
ans=
2008 4 12 0 0
datevec(addtodate(datenum(['1/1/2008']),103,'day'))
ans=
2008 4 12 23 0
the second ans , why not 2008 4 13 0 0 ??
Accepted Answer
More Answers (0)
Categories
Find more on Report Generator Utilities in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!