Re: Time64 needs to call VMS.C gmtime() and localtime() always.

[email protected] ("Craig A. Berry")
Newsgroups perl.perl5.porters,perl.vmsperl
Message-ID <[email protected]>
On Tue, Feb 24, 2009 at 11:02 AM, Abigail <[email protected]> wrote:
> On Sat, Feb 21, 2009 at 04:00:28PM -0600, Craig A. Berry wrote:
>>
>> That's better than failing in 2038, but if you were doing calculations
>> for a 99-year lease you'd already be in trouble today.
>
> That's a doubtful statement. Leases typically have an end *date*, not
> an end *second*.

Er, the topic under discussion is how to make APIs that do everything
in terms of seconds since the epoch count high enough to deal with
dates of potential interest in the future.  It doesn't matter whether
you're happy to have the final result expressed in days or months if
you have to use seconds to get there.  Nor is it relevant that there
are other things than seconds that one could potentially count: people
expect to use localtime() and gmtime(), so these need to be made to
work.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.