This function is different from Matlab's built-in functions (juliandate or mjuliandate) in the sense
that it gives yyyyddd where yyyy is the year and ddd is the day out of
365 (or 366 for leap years).
The output is a float with 7 significant numbers for yyyyddd and floating point numbers for time (if the given date does contain time).
M Sohrabinia (2021). Convert normal date to Julian Date (https://www.mathworks.com/matlabcentral/fileexchange/36900-convert-normal-date-to-julian-date), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
It works!