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

[email protected] (Malmberg Family)
Newsgroups perl.perl5.porters,perl.vmsperl
Message-ID <[email protected]>
Thomas Pfau wrote:
> John Malmberg wrote:
>> As I understand it, when using the DEC/Compaq/HP VMS C compiler,
>> currently time_t is by default an unsigned type, which avoids the Y2038
>> issue.
>>
>> I do not know how far back that goes.  All my VAX systems have been
>> powered off since my move, and I have not had time to get them going.
>> I do not know if DeathRow would be willing to host a build environment
>> for PERL on their VAX, or even if it has enough space.
> 
> Current definition from Compaq C V6.4-005 on OpenVMS VAX V7.3:
> 
>  typedef unsigned long int __time_t;

So VMS Perl should be good to 2106 if just use the wrapper routines in 
VMS.C.

The native VMS time structure runs out of bits on July 31, 31086 at 
2:48:05.47.

-John
[email protected]
Personal Opinion Only
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.