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
Fractional hour of the day

Return Value

Computed Julian date.

Remarks

This function makes no checks for a valid input calendar date. The input calendar date must be Gregorian. The input time value can be based on any UT-like time scale (UTC, UT1, TT, etc.) - output Julian date will have the same basis.

See Also