how to find current time in millis
23 次查看(过去 30 天)
显示 更早的评论
how to find current time in millis in matlab
0 个评论
回答(1 个)
Rik
2021-2-9
datestr(now,'yyyy/mm/dd HH:MM:SS.FFF')
3 个评论
Walter Roberson
2021-6-8
编辑:Walter Roberson
2021-6-8
Milliseconds since what base time?
[h,m,s] = hms(datetime)
ms = round(s * 1000)
另请参阅
类别
在 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!