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

2 visualizaciones (últimos 30 días)
Eirik
Eirik el 7 de Abr. de 2022
Respondida: Simon Chan el 7 de Abr. de 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

Respuesta aceptada

Simon Chan
Simon Chan el 7 de Abr. de 2022
use function timeofday

Más respuestas (0)

Categorías

Más información sobre Mathematics en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by