datevecfix.m v2.0 (Jun, 2009)
Version 1.1.0.0 (2.53 KB) by
Carlos Adrian Vargas Aguilera
Same as DATEVEC but with rounded seconds down to a certain precision.
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 (2024). datevecfix.m v2.0 (Jun, 2009) (https://www.mathworks.com/matlabcentral/fileexchange/19051-datevecfix-m-v2-0-jun-2009), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2008b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Dates and Time in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: Round Dates and Times
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.