This function will compute the Julian date for a given calendar date (year, month, day, hour).

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

Syntax

C#
public double JulianDate(
	short year,
	short month,
	short day,
	double hour
)
Visual Basic
Public Function JulianDate ( _
	year As Short, _
	month As Short, _
	day As Short, _
	hour As Double _
) As Double
Visual C++
public:
virtual double JulianDate(
	short year, 
	short month, 
	short day, 
	double hour
) sealed

Parameters

year
Type: System..::..Int16
Year number
month
Type: System..::..Int16
Month number.
day
Type: System..::..Int16
Day number
hour
Type: System..::..Double
Time in hours

Return Value

OUT: Julian date.

Remarks