how to find current time in millis
23 views (last 30 days)
Show older comments
how to find current time in millis in matlab
0 Comments
Answers (1)
Rik
on 9 Feb 2021
datestr(now,'yyyy/mm/dd HH:MM:SS.FFF')
3 Comments
Walter Roberson
on 8 Jun 2021
Edited: Walter Roberson
on 8 Jun 2021
Milliseconds since what base time?
[h,m,s] = hms(datetime)
ms = round(s * 1000)
Ni Rui Cheng
on 9 Jun 2021
@Walter Roberson yes. this is what I'm talking about. thank you so much Sir.
See Also
Categories
Find more on Dates and Time in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!