File Exchange

image thumbnail

Convert normal date to Julian Date

version (1.49 KB) by M Sohrabinia
This function takes a vector of dates and derives Julian Date out of it.


Updated 29 May 2012

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 (2021). Convert normal date to Julian Date (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Baasanbat Tsagaan

It works!

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!