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.

928 Downloads

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 (2022). 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 Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!