Split datetime column data into two column

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

답변 (1개)

J. Alex Lee
J. Alex Lee 2020년 12월 21일

0 개 추천

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

Rabia Hakim
Rabia Hakim 2020년 12월 22일
No, i dont want to import.
J. Alex Lee
J. Alex Lee 2020년 12월 22일
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.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Dates and Time에 대해 자세히 알아보기

태그

질문:

2020년 12월 21일

댓글:

2020년 12월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by