SofaDat Method

For a given UTC date, calculate Delta(AT) = TAI−UTC (number of leap seconds).

Definition

Namespace: ASCOM.Tools
Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
public static short Dat(
	int Year,
	int Month,
	int Day,
	double DayFraction,
	ref double ReturnedLeapSeconds
)

Parameters

Year  Int32
Year
Month  Int32
Month
Day  Int32
Day
DayFraction  Double
Fraction of a day
ReturnedLeapSeconds  Double
Out: Leap seconds

Return Value

Int16
status: 1 = dubious year, 0 = OK, −1 = bad year, −2 = bad month, −3 = bad day, −4 = bad fraction, −5 = internal error

Version Information

.NET Standard

Supported in: 2.0

See Also