Convert '16-Mär-2023 13:51:13' to a number

1 Ansicht (letzte 30 Tage)
Daniel Leibundgut
Daniel Leibundgut am 16 Mär. 2023
Kommentiert: Daniel Leibundgut am 16 Mär. 2023
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
Daniel Leibundgut
Daniel Leibundgut am 16 Mär. 2023
Many Thanks, that helps :-)

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Dates and Time finden Sie in Help Center und File Exchange

Produkte


Version

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by