No BSD License  

Highlights from
date2julian

5.0

5.0 | 1 rating Rate this file 4 Downloads (last 30 days) File Size: 384 Bytes File ID: #6777

date2julian

by Felix Comtois-Boutet

 

23 Jan 2005 (Updated 25 Jan 2005)

Convert date to julian day.

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 6.1 (R12.1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
28 Jan 2005 Michael Robbins

Or just datenum('1/23/05')-datenum('1/1'80')

19 May 2005 Nirav Khimashia

Thank you Felix,,, Very simple ,effective and powerful

26 Jun 2009 Shaik Ghouse Basha

Dear friends i have julian day as 2008.001 i want to convert this 2008-01-01 may i know which command i have to use to convert .

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
clock Felix Comtois-Boutet 22 Oct 2008 07:40:02
fun Felix Comtois-Boutet 22 Oct 2008 07:40:02
julian day Felix Comtois-Boutet 22 Oct 2008 07:40:02
conversion Felix Comtois-Boutet 22 Oct 2008 07:40:02
date Felix Comtois-Boutet 22 Oct 2008 07:40:02
utilities Felix Comtois-Boutet 22 Oct 2008 07:40:02

Contact us at files@mathworks.com