Split datetime column data into two column

3 Ansichten (letzte 30 Tage)
Rabia Hakim
Rabia Hakim am 21 Dez. 2020
Kommentiert: J. Alex Lee am 22 Dez. 2020
Hi, i have csv file and i want to split my 4th column (DateAndTime) into two column . one column should occupy date and other is time

Antworten (1)

J. Alex Lee
J. Alex Lee am 21 Dez. 2020
if you import it as a datetime variable, you can use datetime operations to render into whatever format you want, including one for date and one for time.
  2 Kommentare
Rabia Hakim
Rabia Hakim am 22 Dez. 2020
No, i dont want to import.
J. Alex Lee
J. Alex Lee am 22 Dez. 2020
then you will not be able to manipulate in matlab...try going through the file manually and adding a comma between the date and the time.

Melden Sie sich an, um zu kommentieren.

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!

Translated by