Transform into a Matlab datetime format
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
alpedhuez
il 14 Giu 2018
Commentato: alpedhuez
il 14 Giu 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 Commenti
Risposta accettata
Sean de Wolski
il 14 Giu 2018
Modificato: Sean de Wolski
il 14 Giu 2018
datetime("2017-10-26 06-PM",'InputFormat','yyyy-MM-dd hh-aa')
3 Commenti
Guillaume
il 14 Giu 2018
exactly the same way:
yourtable.columnname = datetime(yourtable.columname, 'InputFormat', 'yyyy-MM-dd hh-aa')
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Logical in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!