Datetime problem of converting string
6 ビュー (過去 30 日間)
古いコメントを表示
Eugene Pashinov
2020 年 2 月 15 日
コメント済み: Eugene Pashinov
2020 年 2 月 15 日
Hello. Im trying to convert string of dates to datetime and recieving strange error:
D=datetime('2019/09/05 19:02:11', 'InputFormat','yyyy/MM/dd hh:mm:ss');
Error using datetime (line 636) Unable to convert '2019/09/05 19:02:11' to datetime using the format 'yyyy/MM/dd hh:mm:ss'.
Help me please
0 件のコメント
採用された回答
JESUS DAVID ARIZA ROYETH
2020 年 2 月 15 日
hh is uppercase
D=datetime('2019/09/05 19:02:11', 'InputFormat','yyyy/MM/dd HH:mm:ss')
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Data Type Conversion についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!