DN2JD:

Path: Common/Time

% Computes the Julian Date from the day number and year. 
 January 1 is day 1.
 If no arguments are given it returns the current Julian date.
--------------------------------------------------------------------------
   Form:
   jD = DN2JD( dN, year )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   dN    (1,1) Day number
   year 	(1,1) Year

   -------
   Outputs
   -------
   jD    (1,1) Julian date

--------------------------------------------------------------------------
   References: Montenbruck, O., T.Pfleger, Astronomy on the Personal
               Computer, Springer-Verlag, Berlin, 1991, p. 12.
--------------------------------------------------------------------------

Children:

Common: Time/Date2JD

Back to the Common Module page