develooper Front page | perl.perl6.language.datetime | Postings from September 2000

TAI and Unix epoch issues

Thread Next
Russ Allbery
September 19, 2000 16:09
TAI and Unix epoch issues
Message ID:
One of the major outstanding issues is still exactly what clock Perl
intends to keep and return from the time command.  There has been some
discussion of the difficulties in obtaining the Unix epoch on platforms
where the native system clock is not using the Unix epoch; Nathan, could
you update your RFC to include notes about that if possible?

Was there any resolution as to how one obtains the offset between the
system clock and the Unix epoch clock on a platform like Mac where
apparently the system clock is in local time and it may be difficult to
determine the time zone of the system?

Is Perl keeping UTC or TAI?  If we're standardizing on an epoch, we should
also standardize on a clock; the difference is over ten seconds.  If we're
isolating the programmer from system clock issues, should we try to
isolate them from weird handling of leap seconds?

I think that TAI vs. UTC could use its own RFC, but if no one has the time
to write it (I don't, myself), maybe Nathan could include at least a
mention of it as an issue?

There's also the question of whether to use libtai for the implementation;
this is a bit outside the scope of this working group, I think, but could
productively be the subject of an internals RFC.

Finally, on a separate note, does anyone have a pointer for the details on
how to write working group summaries?  I need to write one up and I can't
find details on format and address to send it to on  Danke.

Russ Allbery (             <>

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About