datevec output in 24H format
16 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi All,
I found out that the output of datevec function is in 12-hour format. How to turn it into 24-hour format?
Thank you.
0 comentarios
Respuestas (1)
Star Strider
el 22 de Abr. de 2016
You can easily specify the format with the format string you want.
From the documentation:
'HH:MM:SS' 15:45:17
'HH:MM:SS PM' 3:45:17 PM
'HH:MM' 15:45
'HH:MM PM' 3:45 PM
0 comentarios
Ver también
Categorías
Más información sobre Dates and Time 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!