Skip to main content

ut1utc

Function ut1utc 

Source
pub fn ut1utc(ut11: f64, ut12: f64, dut1: f64) -> Result<(f64, f64), i32>
Expand description

Time scale transformation: Universal Time, UT1, to Coordinated Universal Time, UTC.

This function is part of the International Astronomical Union’s SOFA (Standards of Fundamental Astronomy) software collection.

Status: canonical.

Given: ut11,ut12 double UT1 as a 2-part Julian Date (Note 1) dut1 double Delta UT1: UT1-UTC in seconds (Note 2)

Returned: utc1,utc2 double UTC as a 2-part quasi Julian Date (Notes 3,4)

Returned (function value): int status: +1 = dubious year (Note 5) 0 = OK -1 = unacceptable date