Dave Rolsky <[EMAIL PROTECTED]> wrote: > On Fri, 20 Jun 2003, Eugene van der Pijll wrote: > > > Peter J. Acklam schreef: > > > > > I could have sworn the difference was 0 seconds between 1970-01-01 > > > and until the leap second in June 1972. I should have checked > > > > > > ftp://maia.usno.navy.mil/ser7/tai-utc.dat > > > > By the way, according to the formulae on this page, TAI-UTC was 9.89 > > seconds on 1971-12-31, so DateTime::LeapSecond is probably wrong to > > introduce a leap second on 1972-01-01. > > Flavio got the data from here: > ftp://62.161.69.5/pub/tai/publication/leaptab.txt > > That's the BIPM. > > Oddly, the Olson database has the first leapsecond at > 1972-06-30. I am confused.
It is the IERS (http://www.iers.org) who decides when leap seconds are inserted. According to their page http://www.iers.org/iers/earth/rotation/utc/table1.html the first leap second after 1970 was the second before 1972-07-01 00:00:00 UTC. Peter -- #!/local/bin/perl5 -wp -*- mode: cperl; coding: iso-8859-1; -*- # matlab comment stripper (strips comments from Matlab m-files) s/^((?:(?:[])}\w.]'+|[^'%])+|'[^'\n]*(?:''[^'\n]*)*')*).*/$1/x;