Change Datetime 'yyyy.MM.dd HH:mm:SSS' to 'HH:mm:SSS'

1 Ansicht (letzte 30 Tage)
Eirik
Eirik am 7 Apr. 2022
Beantwortet: Simon Chan am 7 Apr. 2022
Hi,
I have an array with time stamps on the form of yyyy.MM.dd HH:mm:SSS. I want to get it on the form of HH:mm:SSS. How can I do that? I found the function hms() but it yields three arrays h,m,s instead of HH:mm:SSS on the datetime form

Akzeptierte Antwort

Simon Chan
Simon Chan am 7 Apr. 2022
use function timeofday

Weitere Antworten (0)

Kategorien

Mehr zu Mathematics finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by