display current time in minutes
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
AA
el 25 de Ag. de 2017
Respondida: Guillaume
el 25 de Ag. de 2017
hi, how can I display current time as a multiple of 60, meaning 1 o clock is displayed as 60, 2 o clock as 120, 3 o clock as 180 and so on. I know if i type in clock then i get the current time but the further conversion is difficult.
thanks
0 comentarios
Respuesta aceptada
Guillaume
el 25 de Ag. de 2017
hour(datetime)*60
or
hour(datetime)*60 + minute(datetime)
if you want to add the minutes.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Search Path 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!