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
275 Downloads
Updated 2 Sep 2014

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 (2026). Month and Day of month to Day of year (mmdd2ddd.m) (https://uk.mathworks.com/matlabcentral/fileexchange/46700-month-and-day-of-month-to-day-of-year-mmdd2ddd-m), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Dates and Time in Help Center and MATLAB Answers
Version Published Release Notes
1.1.0.0

The function has been updated to be able to accept vector inputs and give vector outputs

1.0.0.0