Newsgroups: comp.sys.apollo Path: utzoo!utgpu!cunews!bnrgate!bwdls61!bwdla31!marmen From: marmen@bwdla31.bnr.ca (Rob Marmen 1532773) Subject: TZ command under sr10.3 Message-ID: <1991Apr3.205041.1361@bwdls61.bnr.ca> Keywords: tz 10.3 Sender: usenet@bwdls61.bnr.ca (Use Net) Organization: Bell-Northern Research, Ottawa, Canada Date: Wed, 3 Apr 1991 20:50:41 GMT A week ago, I posted an article asking for help with the TZ command. I recieved a couple of usefull answers, but my problem persists. The following code shows what I mean: % tz <----- This is the current timezone Timezone: EST Delta from UTC: -5:00 % /bin/date <---- Output of the BSD4.3 date command Wed Apr 3 15:45:53 EST 1991 % tz edt <---- Change the timezone % tz Timezone: EDT Delta from UTC: -4:00 % /bin/date <---- Check the date, and it's wrong Wed Apr 3 15:46:06 EST 1991 % tz <---- Verify the timezone Timezone: EDT Delta from UTC: -4:00 However, the date command under /com will work correctly. Here, cdate is a copy of /com/date % date Wed Apr 3 15:52:38 EST 1991 % cdate Wednesday, April 3, 1991 3:52:41 pm (EST) % tz edt % date Wed Apr 3 15:52:50 EST 1991 % cdate Wednesday, April 3, 1991 4:52:53 pm (EDT) Unfortunately, we do not distribute the /com directory with the o/s. We are running bsd4.3. Does anyone have any ideas on how to fix this? Or, does the bsd4.3 date command simply look at a different clock? Thanks for the help, rob.... -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- | Robert Marmen marmen@bnr.ca OR | | Bell Northern Research marmen%bnr.ca@cunyvm.cuny.edu | | (613) 763-8244 My opinions are my own, not BNRs |