NovasJulianDate Method

Compute the Julian date for a given calendar date (year, month, day, hour).

Definition

Namespace: ASCOM.Tools.Novas31
Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
public static double JulianDate(
	short Year,
	short Month,
	short Day,
	double Hour
)

Parameters

Year  Int16
Year number
Month  Int16
Month number
Day  Int16
Day number
Hour  Double
Fractional hour of the day

Return Value

Double
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.

Version Information

.NET Standard

Supported in: 2.0

See Also