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:
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 个评论
采纳的回答
更多回答(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!