One of the gurus advised me with similar issues (959 with dead m/b battery) to always do the following sequence:
setclock ;cancel
setclock timezone=XXXX
setclock date=xxx;time=xxx;now
and this has always given me correct GMT and local times
jp
________________________________________
From: HP-3000 Systems Discussion [[log in to unmask]] On Behalf Of James B. Byrne [[log in to unmask]]
Sent: Friday, 15 July 2011 11:17 PM
To: [log in to unmask]
Subject: Re: [HP3000-L] PH729C8 and SYSDATE
On: Thu, 14 Jul 2011 09:14:47 -0500, "Rose, Bob"
<[log in to unmask]> wrote:
> It looks like there is already a workaround for this, but for what
> it's worth, here's how PH729C8 works on my machine. I'm on 7.5.
>
>
>
> ci: showclks.pubxl.telesup
> SHOWCLKS/XL A.10.00
> DEBUG/iX C.45.05
>
> HPDEBUG Intrinsic at: 417.00007258 PROGRAM+$198
> PRIV=$3 := $0
>
> *************************************************************
> *** ***
> *** Greenwich Mean Time : THU, JUL 14, 2011, 2:05 PM ***
> *** GMT/MPE offset : -4:00:00 ***
> *** MPE System Time : THU, JUL 14, 2011, 10:05 AM ***
> *** ***
> *************************************************************
>
> **** C Library Information ****
>
> Current value of Time Zone(TZ) variable : EST5EDT
> CTIME function return : Thu Jul 14 10:05:19 2011
>
>
>
>
> So it seems to work OK in my environment. Not sure why James was
> getting the results he saw.
>
> Regards, Bob
Because, as someone else suggested, my hardware clock is off. How
does one reset the hardware clock without rebooting?
I have tried 'setclock date=7/15/2011;time=hh:mm:ss;now' but that
does not change the GMT setting as shown when I subsequently run
showclks.pubxl.telesup.
Regards,
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrne mailto:[log in to unmask]
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
CAUTION: This message may contain privileged and confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error please notify RYCO Hydraulics Pty. Ltd. immediately. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of RYCO Hydraulics Pty. Ltd.
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|