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!