Convert normal date to Julian Date

This function takes a vector of dates and derives Julian Date out of it.


Updated Tue, 29 May 2012 10:41:30 +0000

View License

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 (2023). 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 Linux
Find more on Dates and Time in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes