Round off dates and times

Rounds off a datenum to the nearest second, minute, hour, day, month or year.

Ahora está siguiendo esta publicación

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')

Citar como

Kevin J. Delaney (2026). Round off dates and times (https://es.mathworks.com/matlabcentral/fileexchange/26374-round-off-dates-and-times), MATLAB Central File Exchange. Recuperado .

Agradecimientos

Inspirado por: units.m

Categorías

Más información sobre Dates and Time en Help Center y MATLAB Answers.

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
1.1.0.0

Fixed H1 comment line so "lookfor" will work.

1.0.0.0