version (384 Bytes) by Felix Comtois-Boutet
Convert date to julian day.


Updated 25 Jan 2005

No License

Convert dates to julian day. For example, if you want to know the number of day since time began for the IBM PC, wich is 1980-01-01, type the following:

number_of_day = date2julian(2005-01-23)
the results is of course 9155 days.

You can specify the day 0 that you want in the file date2julian.

Cite As

Felix Comtois-Boutet (2022). date2julian (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12.1
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!