File Exchange

image thumbnail

Month and Day of month to Day of year (mmdd2ddd.m)

version 1.1.0.0 (102 Bytes) by Daniel Okoh
Converts month and day of a month to corresponding day of the year

1 Download

Updated 02 Sep 2014

View Version History

View License

mmdd2ddd is a MATLAB function that converts the month and day of a month to corresponding day of the year.

Syntax is:
ddd=mmdd2ddd(yyyy,mm,dd)
converts day dd of month mm of year yyyy to the corresponding day ddd of the same year.

Cite As

Daniel Okoh (2021). Month and Day of month to Day of year (mmdd2ddd.m) (https://www.mathworks.com/matlabcentral/fileexchange/46700-month-and-day-of-month-to-day-of-year-mmdd2ddd-m), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

Mattia Pancerasa

Does this function apply any Gregorian Calendar adoption? (https://en.wikipedia.org/wiki/Adoption_of_the_Gregorian_calendar)

Jan

The Financial Toolbox is required for this function.

MATLAB Release Compatibility
Created with R2010a
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!