Transform into a Matlab datetime format
1 次查看(过去 30 天)
显示 更早的评论
I have an entry "2017-10-26 06-PM" How can I transform this entry into a datetime format that Matlab can understand?
0 个评论
采纳的回答
Sean de Wolski
2018-6-14
编辑:Sean de Wolski
2018-6-14
datetime("2017-10-26 06-PM",'InputFormat','yyyy-MM-dd hh-aa')
3 个评论
Guillaume
2018-6-14
exactly the same way:
yourtable.columnname = datetime(yourtable.columname, 'InputFormat', 'yyyy-MM-dd hh-aa')
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!