how do i get the set the current time as a datenum
古いコメントを表示
i need to create an app that compares the current time to a given time
回答 (1 件)
t = datetime('now','TimeZone','local','Format','d-MMM-y HH:mm:ss Z') % current time
datenum(t) % datenumber
カテゴリ
ヘルプ センター および File Exchange で Startup and Shutdown についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!