On Jul 28, 2026, at 2:43 AM, Guy Harris <gharris@xxxxxxxxx> wrote:
> For UT1, it's not so simple, as UT1-UTC shifts all over the place. If we wanted to store a UT1 value in an nstime_t as we currently have it, we'd have to apply the UT1-UTC delta in effect at that time.
Here's a table of UT1-UTC for each day since 1973-01-02:
https://datacenter.iers.org/products/eop/rapid/standard/csv/finals.all.csv
$ curl -s https://datacenter.iers.org/products/eop/rapid/standard/csv/finals.all.csv | wc -l
19985
Only about 20000 entries, so that might not be *too* bad. Probably don't want to do too many linear searches, though. To be fair, it has reserved entries for the future:
$ curl -s https://datacenter.iers.org/products/eop/rapid/standard/csv/finals.all.csv | tail
61658;2027;09;10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
61659;2027;09;11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
61660;2027;09;12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
61661;2027;09;13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
61662;2027;09;14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
61663;2027;09;15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
61664;2027;09;16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
61665;2027;09;17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
61666;2027;09;18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
61667;2027;09;19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
so maybe not so bad.
It probably gets updated daily, though.