Lable with a duration
Ältere Kommentare anzeigen
Hi, I have a duration here that I would like to display as a running down number in a label or message box. But I don't know how to convert a duration.
C = DateTimeNow - DateTimeStart;
Many greetings
Fabian
3 Kommentare
Adam Danz
am 4 Mai 2021
What does this mean, " to display as a running down number" ?
Could you provide an example?
William Rose
am 4 Mai 2021
@TheDice Fabian,
DateString=datestr(C,'HH:MM:S')
gives a string with the hours, minutes, seconds of c.
William Rose
am 4 Mai 2021
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Clocks and Timers finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!