From: hoffman@xdelta.enet.dec.com (Stephen Hoffman)
Subject: Re: Millennium (Year 2000)
Date: 1995/10/30 [thread overview]
Message-ID: <4737g6$q7j@nntpd.lkg.dec.com> (raw)
In-Reply-To: 46lfm5$s81@topaz.sensor.com
In article <46lfm5$s81@topaz.sensor.com>, ron@topaz.sensor.com (Ron Natalie) writes:
:Stephen Hoffman (hoffman@xdelta.enet.dec.com) wrote:
:
:: In article <ruvo.38.000EA6E4@knoware.nl>, ruvo@knoware.nl (Ruud Vos) writes:
:: :Does anyone know anything about dec products that have problems with the year
:: :2000?
:
:: This should probably be added to the Frequently Asked Questions (FAQ).
:
:: OpenVMS uses a 64 bit (quadword) native time format, which can correctly
:: represent times past the 30th millenium, and the first component of
:: OpenVMS that gets into trouble with time -- DCL -- only gets into trouble
:: near the end of the 10th millenium. And with OpenVMS V6.0 and later, one
:: also has access to the 128 bit UTC time format.
:
:The issue is not with the representation of time (even UNIX, which has a
:more pessimistic view of obsolecesnce gives you to 2038). It's the
:conversion between ticks past the epoch to Julian dates and vice versa that
:is likely to blow up in 2000.
:
:I can see why DEC got gunshy over having enough bits, those of us who were
:TOPS-10 users in the late seventies learned that lesson.
I do not understand the remark about conversions in and out of Julian
dates -- most parts of the planet are currently using the Gregorian
calendar, not the Julian Calendar. :-)
The OpenVMS system base date 17-Nov-1858 is also a well-known Julian Day
Number: 2,400,000.5. (That's "Julian Day Number", not "Julian Date" --
while the "Julian" in "Julian Date" is named after the Roman emperor, the
"Julian" in "Julian Day" is named after Julius Scaliger. (The DECwindows
Calendar help has more details on this.) And the .5 factor can be used
to move the day boundary around for the convenience of the astronomers.)
Today (30-Oct-1995) is Julian Day Number 2,450,020.
The OpenVMS quadword date format runs out of bits at 31-Dec-32767.
As I previously mentioned, the first component of OpenVMS I am aware
of that runs into trouble with a date is DCL and various time-related
system services such as $asctim, and that occurs because of the use
of a four-digit year -- this particular problem creeps in at the end
of the tenth millenium.
Any applications -- Digital or otherwise -- that store two digit year
values or calculate based on two digit year numbers can and likely will
get into trouble at the millenium.
See one of my previous posts for a testing procedure, and for some other
general considerations and warnings.
------------------------------ Opinionative -------------------------------
Stephen Hoffman OpenVMS Engineering hoffman@xdelta.enet.dec.com
When encryption is outlawed, bayl bhgynjf jvyy unir cevinpl
---------------------------------------------------------------------------
next prev parent reply other threads:[~1995-10-30 5:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-10-17 4:00 Millennium (Year 2000) Ruud Vos
1995-10-19 4:00 ` Peter Kaiser
1995-10-21 4:00 ` Steve LeBlanc
1995-10-24 4:00 ` Stephen Hoffman
[not found] ` <46lfm5$s81@topaz.sensor.com>
1995-10-30 5:00 ` Stephen Hoffman [this message]
1995-10-27 4:00 ` Brian Tillman, x8425
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox