Convert normal date to Julian Date
Version 1.0.0.0 (1.49 KB) by
M Sohrabinia
This function takes a vector of dates and derives Julian Date out of it.
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).
Cite As
M Sohrabinia (2024). Convert normal date to Julian Date (https://www.mathworks.com/matlabcentral/fileexchange/36900-convert-normal-date-to-julian-date), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2008b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Dates and Time in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |