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 static void CalDate(
	double tjd,
	ref short year,
	ref short month,
	ref short day,
	ref double hour
)
Visual Basic
Public Shared Sub CalDate ( _
	tjd As Double, _
	ByRef year As Short, _
	ByRef month As Short, _
	ByRef day As Short, _
	ByRef hour As Double _
)
Visual C++
public:
static void CalDate(
	double tjd, 
	short% year, 
	short% month, 
	short% day, 
	double% hour
)

Parameters

tjd
Type: System..::..Double
Julian date.
year
Type: System..::..Int16%
OUT: Year number
month
Type: System..::..Int16%
OUT: Month number.
day
Type: System..::..Int16%
OUT: Day number
hour
Type: System..::..Double%
OUT: Time in hours

Remarks