Round off dates and times

Rounds off a datenum to the nearest second, minute, hour, day, month or year.
ダウンロード: 2.2K
更新 2010/5/3

ライセンスの表示

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 (2026). Round off dates and times (https://jp.mathworks.com/matlabcentral/fileexchange/26374-round-off-dates-and-times), MATLAB Central File Exchange. 取得日: .

MATLAB リリースの互換性
作成: R2009b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersDates and Time についてさらに検索
タグ タグを追加
謝辞

ヒントを得たファイル: units.m

バージョン 公開済み リリース ノート
1.1.0.0

Fixed H1 comment line so "lookfor" will work.

1.0.0.0