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!