Convert '16-Mär-2023 13:51:13' to a number
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Why is the following command not working:
convertTo(datetime('16-Mär-2023 13:51:13','InputFormat','dd-mmm-yyyy HH:MM:ss','Locale','de_CH'),'datenum')
Thanks for your help!
Daniel
2 Kommentare
Stephen23
am 16 Mär. 2023
Bearbeitet: Stephen23
am 16 Mär. 2023
It looks like you might be trying to convert the DATE field returned by DIR, in which case this might be useful:
That date does not comply with the expected month abbreviations:
which refers to this table: https://www.loc.gov/aba/pcc/conser/conserhold/Mosabbr.html
Antworten (0)
Siehe auch
Kategorien
Mehr zu Dates and Time finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!