Model output is often saved with a time scale of "days since pivotyear-pivotmonth-01 00:00:00", where every year has 360 days and each month has 30 days. This function converts those dates into a serial date number that is usable by functions such as Nandatestr.
Please read the comments in the files for more details.
Cite As
Keith (2024). day2serial_360day (https://www.mathworks.com/matlabcentral/fileexchange/47869-day2serial_360day), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2014a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Language Fundamentals > Data Types > Dates and Time >
- MATLAB > Language Fundamentals > Data Types > Dates and Time > Calendar >
Find more on Dates and Time in Help Center and MATLAB Answers
Tags
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.