JD2Day:

Path: Common/Time

% Computes the day of the week from Julian day number.

 Typing JD2Day returns the current date.
--------------------------------------------------------------------------
   Form:
   day = JD2Day( jD )
--------------------------------------------------------------------------

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

   -------
   Outputs
   -------
   day          (1,3) 'Sun' 'Mon' 'Tue' 'Wed' 'Thu' 'Fri' 'Sat'

--------------------------------------------------------------------------
   References: Meeus, J. "Astronomical Algorithms". p.65.
--------------------------------------------------------------------------

Children:

Common: Time/Date2JD
Math: MathUtils/R2P5

Back to the Common Module page