Re: Need a small VMS test

[email protected] ("Hein, Nashua NH")
Newsgroups perl.vmsperl
Organization http://groups.google.com
Message-ID <be6c141f-ccca-4d2b-8989-0a392ebd1de4@r66g2000hsg.googlegroups.com>
On Sep 30, 1:24 am, [email protected] (John E. Malmberg) wrote:
> Michael G Schwern wrote:
> > Hi, I need a quick VMS test for the new code to detect the range of time_t.

> VMS keeps time internally as a 64 bit signed integer all platforms,
> usually in local time.  The base time is November 17, 1958.

Close. They are 100 ns granularity cluncks with a signed 64 bit
counter since the Smithsonian base date 00:00 17-Nov-1858.

So it will happily represent the date of birth for a centenarian, as
well as the end date for a new 99 year lease.

The build-in ascii formatting is restricted to the year 9999 and
typically includes centi-seconds.

The negative times are considered 'delta times', which are formate to
DDDD HH:MM:SS.CC

fwiw,
Hein.
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.