how to find current time in millis
Mostra commenti meno recenti
how to find current time in millis in matlab
Risposte (1)
datestr(now,'yyyy/mm/dd HH:MM:SS.FFF')
3 Commenti
Ni Rui Cheng
il 8 Giu 2021
@Rik the ans is string type bro. could we get the ans in integer or double type? and make its literally in miliseconds time?
Walter Roberson
il 8 Giu 2021
Modificato: Walter Roberson
il 8 Giu 2021
Milliseconds since what base time?
[h,m,s] = hms(datetime)
ms = round(s * 1000)
Ni Rui Cheng
il 9 Giu 2021
@Walter Roberson yes. this is what I'm talking about. thank you so much Sir.
Categorie
Scopri di più su Dates and Time in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!