Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!ucsd!ucsbcsl!nessus!ivucsb!steve From: steve@ivucsb.UUCP (Steve Lemke) Newsgroups: comp.unix.aux Subject: Can A/UX tell time (correctly)? Keywords: time, PST, PDT, GMT, clock Message-ID: <521@ivucsb.UUCP> Date: 5 Feb 89 06:40:36 GMT Reply-To: lemke@apple.ucsb.edu Organization: The Audio Club at UCSB, Isla Vista, California Lines: 25 After reading the man page on setmactime, I was under the impression that A/UX realized that the time in the (battery backed up) system clock in the Mac II is my local (PST/PDT/whatever) time, and that it needed to adjust according to the environment variable TZ to figure out GMT - which is what it likes to tell time in. Then, it should be able to use TZ to tell ME what time it is in my local time. Well, what happens in this: Let's assume it's 2pm pacific time. If I boot A/UX, when "date" is executed as part of startup (or if I type it myself) I get 6am PST. A/UX obviously interpreted my system clock (2pm) as being in GMT, and then subtracted eight hours and then announces that it's 6am PST. How do I fix this? I thought typing setmactime would do the trick - it seemed to, but when I finished using the machine and shut it down it must have forgotten or something - this morning when I fired it up it was back to the way described above. If there is a simple (or even not so simple) fix for this, or just something I'm doing wrong, I'd love to hear about it. Thanks much, in advance! ----- Steve Lemke ------------------- "MS-DOS (OS/2, etc.) - just say no!" ----- Internet: lemke@apple.ucsb.edu AppleLink: Lemke ----- Or try: pyramid!nessus!ivucsb!steve CompuServe: 73627,570 ----- Quote: "What'd I go to college for?" "You had fun, didn't you?"