Transform into a Matlab datetime format

3 次查看(过去 30 天)
I have an entry "2017-10-26 06-PM" How can I transform this entry into a datetime format that Matlab can understand?

采纳的回答

Sean de Wolski
Sean de Wolski 2018-6-14
编辑:Sean de Wolski 2018-6-14
  3 个评论
Guillaume
Guillaume 2018-6-14
exactly the same way:
yourtable.columnname = datetime(yourtable.columname, 'InputFormat', 'yyyy-MM-dd hh-aa')

请先登录,再进行评论。

更多回答(0 个)

类别

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