datevecfix.m v2.0 (Jun, 2009)

Same as DATEVEC but with rounded seconds down to a certain precision.

You are now following this Submission

This program is the same as DATEVEC but rounds the seconds, so, eliminates the problem with the 60 seconds not rounded value.

It uses DATAVEC and takes a little time while checking the date components.

Cite As

Carlos Adrian Vargas Aguilera (2026). datevecfix.m v2.0 (Jun, 2009) (https://au.mathworks.com/matlabcentral/fileexchange/19051-datevecfix-m-v2-0-jun-2009), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

V2.0 Added precision optional input

1.0.0.0