This function will compute a date on the Gregorian calendar given the Julian date.

Namespace: ASCOM.Astrometry.NOVAS
Assembly: ASCOM.Astrometry (in ASCOM.Astrometry.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
public void CalDate(
	double Tjd,
	ref short Year,
	ref short Month,
	ref short Day,
	ref double Hour
)
Visual Basic
Public Sub CalDate ( _
	Tjd As Double, _
	ByRef Year As Short, _
	ByRef Month As Short, _
	ByRef Day As Short, _
	ByRef Hour As Double _
)
Visual C++
public:
virtual void CalDate(
	double Tjd, 
	short% Year, 
	short% Month, 
	short% Day, 
	double% Hour
) sealed

Parameters

Tjd
Type: System..::..Double
Julian date.
Year
Type: System..::..Int16%
Year
Month
Type: System..::..Int16%
Month number
Day
Type: System..::..Int16%
day number
Hour
Type: System..::..Double%
Fractional hour of the day

Remarks