How to round datetime array to nearest minute?
Mostrar comentarios más antiguos
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
Respuesta aceptada
Más respuestas (1)
Ziye
el 14 de Sept. de 2017
0 votos
1 comentario
Peter Perkins
el 14 de Sept. de 2017
See Steve's suggestion below, i.e. dateshift.
Categorías
Más información sobre Dates and Time en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!