How to round datetime array to nearest minute?
古いコメントを表示
Sounds like quite a easy question but i've spent a lot of time and cant find the answer. Basically I have a datetime array, i want to reduce the precision to minute so that second and beyond(millisecond etc.) are all changed to zero. is there any fast way to do so? Many Thanks
採用された回答
その他の回答 (1 件)
Ziye
2017 年 9 月 14 日
0 投票
1 件のコメント
Peter Perkins
2017 年 9 月 14 日
See Steve's suggestion below, i.e. dateshift.
カテゴリ
ヘルプ センター および File Exchange で Dates and Time についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!