image thumbnail


version (3.92 KB) by Keith
Convert 360 day calendar days to serial date


Updated 18 Sep 2014

View License

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 (2022). day2serial_360day (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!