How to extract elements from datetime variable
Mostrar comentarios más antiguos
I have a datetime variable of 1048576x1 elements, I can convert the format to various options, including showing the days of the week (which is what I am interested in). However, I need to find certain elements in the variable corresponding to a specific day. How can this be done?
Respuestas (2)
KSSV
el 1 de Ag. de 2018
0 votos
REad about datevec. With this you can get year, month, day, hour, minute and second information.
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!