SofaDat Method
For a given UTC date, calculate Delta(AT) = TAI−UTC (number of leap seconds).
Namespace: ASCOM.ToolsAssembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
public static short Dat(
int Year,
int Month,
int Day,
double DayFraction,
ref double ReturnedLeapSeconds
)
Public Shared Function Dat (
Year As Integer,
Month As Integer,
Day As Integer,
DayFraction As Double,
ByRef ReturnedLeapSeconds As Double
) As Short
- Year Int32
- Year
- Month Int32
- Month
- Day Int32
- Day
- DayFraction Double
- Fraction of a day
- ReturnedLeapSeconds Double
- Out: Leap seconds
Int16status: 1 = dubious year, 0 = OK, −1 = bad year, −2 = bad month, −3 = bad day, −4 = bad fraction, −5 = internal error
Supported in: 2.0