Eugene van der Pijll <[EMAIL PROTECTED]> wrote:

> If Perl (or the underlying library functions) used TAI, it
> should have printed something like
>
>     $ perl -wle 'print scalar localtime $_ for 78796799 .. 78796801'
>     Sat Jul  1 01:00:09 1972
>     Sat Jul  1 01:00:10 1972
>     Sat Jul  1 01:00:11 1972
>
> (because UTC=TAI-10s, TAI and MET differed 1 hour and 10 seconds
> in 1972)

Ah.  Good grief.  You're absolutely right.

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

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;

Reply via email to