how do i get the set the current time as a datenum
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
i need to create an app that compares the current time to a given time
0 comentarios
Respuestas (1)
Arif Hoq
el 23 de Feb. de 2022
t = datetime('now','TimeZone','local','Format','d-MMM-y HH:mm:ss Z') % current time
datenum(t) % datenumber
0 comentarios
Ver también
Categorías
Más información sobre Dates and Time en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!