Round off dates and times
バージョン 1.1.0.0 (5.99 KB) 作成者:
Kevin J. Delaney
Rounds off a datenum to the nearest second, minute, hour, day, month or year.
Rounds off a datenum to the nearest second, minute, hour, day, month or year. Zip file includes "units.m" (file 4093) by Henning Ressing.
Example: datenum_round_off(now, 'minute')
引用
Kevin J. Delaney (2024). Round off dates and times (https://www.mathworks.com/matlabcentral/fileexchange/26374-round-off-dates-and-times), MATLAB Central File Exchange. 取得済み .
MATLAB リリースの互換性
作成:
R2009b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxカテゴリ
Help Center および MATLAB Answers で Dates and Time についてさらに検索
タグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!