Transform into a Matlab datetime format

1 Ansicht (letzte 30 Tage)
alpedhuez
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?

Akzeptierte Antwort

Sean de Wolski
Sean de Wolski am 14 Jun. 2018
Bearbeitet: Sean de Wolski am 14 Jun. 2018
  3 Kommentare
Guillaume
Guillaume am 14 Jun. 2018
exactly the same way:
yourtable.columnname = datetime(yourtable.columname, 'InputFormat', 'yyyy-MM-dd hh-aa')
alpedhuez
alpedhuez am 14 Jun. 2018
Great help.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by