How to calculate date length between 2 dates
Afficher commentaires plus anciens
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 commentaire
Adam Danz
le 1 Juil 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] ?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Calendar 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!