DateToSec

Version 1.0.0.0 (1.05 KB) by jasongrig
Converts any Date to (total number of) seconds
21 Downloads
Updated 21 Aug 2017

View License

Converts any Date to (total number of) seconds.
Much faster than the command "second".
Takes into account leap years.
Accurate day count per month.
Year must be > 1.

Cite As

jasongrig (2024). DateToSec (https://www.mathworks.com/matlabcentral/fileexchange/64197-datetosec), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Dates and Time in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0