HP3000-L Archives

January 2002, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Stan Sieler <[log in to unmask]>
Reply To:
Stan Sieler <[log in to unmask]>
Date:
Mon, 7 Jan 2002 10:46:04 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (37 lines)
Re:
> Getting a difference in date/time from MPE to Posix
> :showtime
> MON, JAN  7, 2002, 10:51 AM
> $ date
> Wed Sep  5 16:51:55 UTC 2001

Looks like:

1) your hardware clock is way off (unless you wrote the email
   on September 5, 2001, and it got delayed a bit :)

   Note: the hardware clock should *always* be set to GMT (UTC) time.

2) *and* you don't have a TZ variable setup, showing what timezone
   you are in.

The former should definitely be fixed, ASAP.  There are various
methods of doing this (search HP3000-L if interested).  The short
form is:
   http://www.allegro.com/software/hp3000/allegro.html#FIXCLOCK

Basically, the free FIXCLOCK command file assumes that your "system time"
(the time reported by :SHOWTIME) is correct.  Then, when you run the
command file with your GMT offset (e.g., 8 for PST), it updates
the hardware clock to be the correct GMT.

The latter ought to be fixed.  IIRC, our system-wide logon UDC does:

   setvar tz "PST8PDT"

Stan Sieler                                           [log in to unmask]
www.allegro.com/sieler/wanted/index.html          www.allegro.com/sieler

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2