taiMinusUtcfunction
TAI minus UTC in seconds: the leap seconds from 1972 (10 then, 37 since 2017), and before 1972 delta T less 32.184, which is how far the atomic scale would have been from the Earth's turn.
Import it
import { taiMinusUtc } from "@johnmorrisdotca/wakusei-planets/time";
Definition
function taiMinusUtc(when: When): number
Parameters
| Name | Type | Description |
|---|---|---|
when | When | A |
Returns
number
Seconds to add to UTC to get TAI.
Examples
import { taiMinusUtc } from "@johnmorrisdotca/wakusei-planets/time";
console.log(taiMinusUtc(Date.UTC(2026, 10, 7)));37What it prints (run when this page was built)