Split datetime column data into two column

2 次查看(过去 30 天)
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
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 个评论
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Dates and Time 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by