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.
jasongrig (2021). DateToSec (https://www.mathworks.com/matlabcentral/fileexchange/64197-datetosec), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!