Transform into a Matlab datetime format
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
alpedhuez
am 14 Jun. 2018
Kommentiert: alpedhuez
am 14 Jun. 2018
I have an entry "2017-10-26 06-PM" How can I transform this entry into a datetime format that Matlab can understand?
0 Kommentare
Akzeptierte Antwort
Sean de Wolski
am 14 Jun. 2018
Bearbeitet: Sean de Wolski
am 14 Jun. 2018
datetime("2017-10-26 06-PM",'InputFormat','yyyy-MM-dd hh-aa')
3 Kommentare
Guillaume
am 14 Jun. 2018
exactly the same way:
yourtable.columnname = datetime(yourtable.columname, 'InputFormat', 'yyyy-MM-dd hh-aa')
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!