Indexing a timetable using time
Afficher commentaires plus anciens
Dear
I have a timetable in a range of many days in seconds, see figure below. I need to indexing this timetable in a range of hour and minutes for all range of dates. To do that i used this code:
Dates_ind = Universo_MidPrice.DateTime >=datetime('10:00:00.000',"Format","HH:mm:ss.SSS") & Universo_MidPrice.DateTime < datetime('16:50:00.000',"Format","HH:mm:ss.SSS");
After that, I will use this logical vector to indexing the timetable. This did not work. The problem is the absence of date in the datetime function once this code works if you include only a range of dates. However, the aim is indexing all dates in the range of hours and minutes. Any help will be appreciate.

Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Dates and Time dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!