Round off dates and times

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

謝辞

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

カテゴリ

Help Center および MATLAB AnswersDates and Time についてさらに検索

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.1.0.0

Fixed H1 comment line so "lookfor" will work.

1.0.0.0