Path: Common/Time
% Computes the date from the day number and year. January 1 is day 1.
--------------------------------------------------------------------------
Form:
dateTime = DN2Date( dN, year )
--------------------------------------------------------------------------
------
Inputs
------
dN (1,1) Day number
year (1,1) Year
-------
Outputs
-------
dateTime (1,6) [year month day hour minute seconds]
--------------------------------------------------------------------------
References: Montenbruck, O., T.Pfleger, Astronomy on the Personal
Computer, Springer-Verlag, Berlin, 1991, p. 12.
--------------------------------------------------------------------------
Common: Time/DTAToDTS Common: Time/DTSToDTA Common: Time/Date2JD Common: Time/JD2Date Math: MathUtils/R2P5
Back to the Common Module page