how do i get the set the current time as a datenum
4 ビュー (過去 30 日間)
古いコメントを表示
i need to create an app that compares the current time to a given time
0 件のコメント
回答 (1 件)
Arif Hoq
2022 年 2 月 23 日
t = datetime('now','TimeZone','local','Format','d-MMM-y HH:mm:ss Z') % current time
datenum(t) % datenumber
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Dates and Time についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!