deltaTfunction
Delta T, terrestrial time minus universal time (UT1), in seconds. From 1972 it is the leap seconds plus 32.184 s less dut1 (UT1 minus UTC, which the IERS publishes and is under 0.9 s: leave it out and it is taken as 0),
before 1972 the polynomials of Espenak and Meeus (NASA). After the last leap second it is held at 69.184 s, the assumption JPL Horizons makes.
Import it
import { deltaT } from "@johnmorrisdotca/wakusei-planets/time";
Definition
function deltaT(when: When, dut1?: number): number
Parameters
| Name | Type | Description |
|---|---|---|
when | When | A |
dut1 (optional) | number | UT1 minus UTC in seconds, from the IERS; default 0. |
Returns
number
Seconds.
Examples
import { deltaT } from "@johnmorrisdotca/wakusei-planets/time";
console.log(deltaT(Date.UTC(1900, 0, 1)).toFixed(1), deltaT(Date.UTC(2026, 10, 7)));-2.7 69.184What it prints (run when this page was built)