* setting date to Y2K on DigitalUnix V3.2
@ 1999-03-22 5:00 David Soler
1999-03-22 5:00 ` Christian Krackowizer
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: David Soler @ 1999-03-22 5:00 UTC (permalink / raw)
Dear all,
I'm going to do some Y2K tests with our Alpha running Digital Unix V3.2.
My first problem is setting the date to some day in the year 2000. Date
man page says it only accepts 2 digits for year number, but it also
says it's possible to use a field descriptor for setting the date. It
seems to me that "date 01010000.0000" won't set the date to the 1st of
january of 2000. The question is: how can I set it to that day? I would
prefer a "tested" answer, but I'll be quite happy with an untested one.
Thanks in advance,
David
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: setting date to Y2K on DigitalUnix V3.2
1999-03-22 5:00 setting date to Y2K on DigitalUnix V3.2 David Soler
1999-03-22 5:00 ` Christian Krackowizer
1999-03-22 5:00 ` Sergey Yu. Bobrovnikov
@ 1999-03-22 5:00 ` Oisin McGuinness
1999-03-23 5:00 ` lamontg
2 siblings, 1 reply; 6+ messages in thread
From: Oisin McGuinness @ 1999-03-22 5:00 UTC (permalink / raw)
To: David Soler
Since the "official" Y2K ready version is 4.0D, it is a little pointless
to test 3.2C. Digital does have patches to the date commmand for 3.2c,
which are part of their standard patch kit. The patch kit will contain
details on using the century field.
In 4.0D, you can use the formats
date mmddHHMMccyy.ss
date ccyymmddHHMM.ss
date mmddHHMM.ssccyy
to include century specifications, the man page (available on line
in the Digital Unix doc set, start at www.unix.digital.com)
explains how ambiguities are resolved.
See http://www.unix.digital.com/unix/year2000.whitepaper.html for
a discussion of "Compaq's Digital UNIX Year 2000 Readiness". This
explains well other needed feature changes. Note there are a couple of
minor patches since 4.0D that you will need.
Oisin McGuinness
Sumitomo Bank Capital Markets
New York NY 10172
oisin@sbcm.com
David Soler wrote:
>
> Dear all,
>
> I'm going to do some Y2K tests with our Alpha running Digital Unix V3.2.
> My first problem is setting the date to some day in the year 2000. Date
> man page says it only accepts 2 digits for year number, but it also
> says it's possible to use a field descriptor for setting the date. It
> seems to me that "date 01010000.0000" won't set the date to the 1st of
> january of 2000. The question is: how can I set it to that day? I would
> prefer a "tested" answer, but I'll be quite happy with an untested one.
>
> Thanks in advance,
>
> David
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: setting date to Y2K on DigitalUnix V3.2
1999-03-22 5:00 setting date to Y2K on DigitalUnix V3.2 David Soler
@ 1999-03-22 5:00 ` Christian Krackowizer
1999-03-22 5:00 ` Sergey Yu. Bobrovnikov
1999-03-22 5:00 ` Oisin McGuinness
2 siblings, 0 replies; 6+ messages in thread
From: Christian Krackowizer @ 1999-03-22 5:00 UTC (permalink / raw)
In article <36F62D6E.EAC2B2BE@amp.com>, dsoler@amp.com says...
>
>
>Dear all,
>
>I'm going to do some Y2K tests with our Alpha running Digital Unix V3.2.
>My first problem is setting the date to some day in the year 2000. Date
>man page says it only accepts 2 digits for year number, but it also
>says it's possible to use a field descriptor for setting the date. It
>seems to me that "date 01010000.0000" won't set the date to the 1st of
>january of 2000. The question is: how can I set it to that day? I would
>prefer a "tested" answer, but I'll be quite happy with an untested one.
we did a 'trick' when testing on HP: set the date to Dec 31 23:59, wait a
minute and you'll be in the next century ...
--
+-----------------------------------------------------------------+
| Krackowizer Christian mailto:kra1@technodat.co.at |
| TECHNODAT Phone: ++43-(0)662-454944-0 |
| CAD/CAM - Systeme fuer Moebel GmbH FAX: ++43-(0)662-454944-9 |
| Jakob-Haringer-Strasse 6 http://www.technodat.co.at/ |
| A-5020 Salzburg / Austria |
+-----------------------------------------------------------------+
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: setting date to Y2K on DigitalUnix V3.2
1999-03-22 5:00 setting date to Y2K on DigitalUnix V3.2 David Soler
1999-03-22 5:00 ` Christian Krackowizer
@ 1999-03-22 5:00 ` Sergey Yu. Bobrovnikov
1999-03-22 5:00 ` Oisin McGuinness
2 siblings, 0 replies; 6+ messages in thread
From: Sergey Yu. Bobrovnikov @ 1999-03-22 5:00 UTC (permalink / raw)
Try to set date to 23:59 31.12.99 and wait for 1 minute.
And do not ask me how it works - I did not try it.
Sergey
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: setting date to Y2K on DigitalUnix V3.2
1999-03-22 5:00 ` Oisin McGuinness
@ 1999-03-23 5:00 ` lamontg
1999-03-23 5:00 ` David Soler
0 siblings, 1 reply; 6+ messages in thread
From: lamontg @ 1999-03-23 5:00 UTC (permalink / raw)
Oisin McGuinness <oisin@sbcm.com> writes:
>Since the "official" Y2K ready version is 4.0D, it is a little pointless
>to test 3.2C.
Not at all. You may need to support software for 3.2C for people who
place Y2K compliance below the time investment in upgrading to 4.0D.
Your boss may also decide that the risk of 3.2C workstations having some
kind of Y2K problem is less than the cost of upgrading the 100 machines
that you have which are still running 3.2C and which he doesn't care about
as anything more than glorified X-Terminals. I can think of lots of
scenarios where one would want to test 3.2C to just make sure that nothing
catastrophic would happen and leave that as a "good enough" solution.
--
Lamont Granquist (lamontg@u.washington.edu)
ICBM: 47 39'23"N 122 18'19"W
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: setting date to Y2K on DigitalUnix V3.2
1999-03-23 5:00 ` lamontg
@ 1999-03-23 5:00 ` David Soler
0 siblings, 0 replies; 6+ messages in thread
From: David Soler @ 1999-03-23 5:00 UTC (permalink / raw)
Thanks for your answers. I know testing 3.2c readiness may seem a little
weird, but our system is running an application with a lot of different
products and it was very difficult to find a mix of versions to make it work.
Therefore, at first, we want to test it without changes, although we'll
probably have to upgrade to newer versions and find a newer mix.
I'll try setting date to 23:59 31.12.99 and wait, but I also want to be sure
I'll be able to set to another date in the future. I think I'm going to write
my own quick & dirty 'date' command using 'setclock()'.
David
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1999-03-23 5:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-22 5:00 setting date to Y2K on DigitalUnix V3.2 David Soler
1999-03-22 5:00 ` Christian Krackowizer
1999-03-22 5:00 ` Sergey Yu. Bobrovnikov
1999-03-22 5:00 ` Oisin McGuinness
1999-03-23 5:00 ` lamontg
1999-03-23 5:00 ` David Soler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox