From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,6e4b9fdd5df21b8e X-Google-Attributes: gid1164f8,public From: hoffman@xdelta.enet.dec.com (Stephen Hoffman) Subject: Re: Millennium (Year 2000) Date: 1995/10/30 Message-ID: <4737g6$q7j@nntpd.lkg.dec.com>#1/1 X-Deja-AN: 118386073 distribution: world references: <46jeho$kmd@nntpd.lkg.dec.com> <46lfm5$s81@topaz.sensor.com> organization: Digital Equipment Corp reply-to: hoffman@xdelta.enet.dec.com (Stephen Hoffman) newsgroups: comp.sys.dec 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@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 ---------------------------------------------------------------------------