NovasJulianDate Method
Compute the Julian date for a given calendar date (year, month, day, hour).
Namespace: ASCOM.Tools.Novas31Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
public static double JulianDate(
short Year,
short Month,
short Day,
double Hour
)
Public Shared Function JulianDate (
Year As Short,
Month As Short,
Day As Short,
Hour As Double
) As Double
- Year Int16
- Year number
- Month Int16
- Month number
- Day Int16
- Day number
- Hour Double
- Fractional hour of the day
DoubleComputed Julian date.
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.
Supported in: 2.0