How to calculate date length between 2 dates
Mostrar comentarios más antiguos
For the below data, I would like to count the date length between Conf.Time with Trade date
In excel, you can easily do it by using function: weekday(trade date, conftime, holiday), how do you do this in Matlab?
1 comentario
Adam Danz
el 1 de Jul. de 2020
- Are you rounding to the earliest day? For example, should 12/1/2019 23:59:59 be treated as 12/1/2019 00:00:00 ?
- Just to be clear, from the values you shared, the number of days should be [1; 0; 1; 0; 0; 0] ?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Calendar 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!