Julian Date to Day of the Year Converter

Version 1.0.0.0 (2.62 KB) by Jacco
Convert (modified) Julian date to day of the year (and year)
160 Downloads
Updated Wed, 24 Feb 2016 16:24:44 +0000

View License

Julian2doy, converts a (modified) Julian date to day of the year (1-366). Optionally, the year is also returned, to make the converted date umambiguous. Fractions of the day are ignored. Doy and year together presents us with yet another date representation. This package aims to provide a reliable and scalable solution (accepts scalar and vector regardless of orientation) for converting from a Julian date epoch to the day of year conversion for applications in which both julian date and doy-year are encountered, such as working with satellite data.

Cite As

Jacco (2024). Julian Date to Day of the Year Converter (https://www.mathworks.com/matlabcentral/fileexchange/55630-julian-date-to-day-of-the-year-converter), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Dates and Time in Help Center and MATLAB Answers
Acknowledgements

Inspired by: julian2greg

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

Fixed description