Datenum function and conversion
2 ビュー (過去 30 日間)
古いコメントを表示
I am using the Datenum function in my code, and my instructor has asked me to use the data in milliseconds. The result of the Datenum is in days, correct? So, I just need to convert the result to miliseconds (1 day = 86400000 ms), am I right?
0 件のコメント
採用された回答
James Tursa
2015 年 6 月 15 日
編集済み: James Tursa
2015 年 6 月 15 日
Yes, datenum values are in days, and there are 86400000 ms in a day. So your conversion is correct. You might be interested in this related post:
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Dates and Time についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!