Why do I get dates beyond the end date while using the BUSDAYS function with the 'weekly' option?
古いコメントを表示
The following code illustrates the problem:
v=datestr(busdays('5/22/00','5/20/02','weekly'));
v(end,:)
The above code gives the following output for the last date 'v(end,:)' generated by the BUSDAYS function:
ans =
24-May-2002
It is evident that the last date in the output of the BUSDAYS function goes beyond the end date.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Dates and Time についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!