how do i get the set the current time as a datenum
Afficher commentaires plus anciens
i need to create an app that compares the current time to a given time
Réponses (1)
t = datetime('now','TimeZone','local','Format','d-MMM-y HH:mm:ss Z') % current time
datenum(t) % datenumber
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!