Round off dates and times
Version 1.1.0.0 (5,99 KB) von
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')
Zitieren als
Kevin J. Delaney (2026). Round off dates and times (https://de.mathworks.com/matlabcentral/fileexchange/26374-round-off-dates-and-times), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2009b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Mehr zu Dates and Time finden Sie in Help Center und MATLAB Answers
Tags
Quellenangaben
Inspiriert von: units.m
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.1.0.0 | Fixed H1 comment line so "lookfor" will work. |
||
| 1.0.0.0 |
