develooper Front page | perl.datetime | Postings from January 2003

Re: Picking up the ball

Thread Previous | Thread Next
From:
fglock
Date:
January 10, 2003 06:38
Subject:
Re: Picking up the ball
Message ID:
3E1EDB4F.2442@pucrs.br
John Peacock wrote:
> it is unlikely that TAI64 will be appropriate for our use, since it is also based on
> the Olson libraries epoch of 1970-01-01 00:00:10 TAI.

It doesn't make much difference where the 'zero' is, if you allow
negative epochs.

By the way, Date::Leapsecond doesn't care what you 'local' epoch is.

> I would prefer a structured variable; separate values for each period of 
> importace.  Since some people have explicitly mentioned wanting to handle deep 
> prehistory, the thought of subtracting attosecond precision over a range of 
> billions of years just scares me!  Of course, Math::BigInt could handle it...

Date::Tie, for example, uses different timescales internally.
It converts between timescales only when necessary.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About