CompuServe Thread

#Unix, AmigaDOS time

6 messages in this thread
#19620From: Jay G PedersenJan 29, 1992 5:08 AM
I have a time discreprancy between Unix and AmigaDOS on my A3000UX. The AmigaDOS side thinks the time is 5 hours later than the Unix side does. For example, AmigaDOS thinks it is 10:00 and Unix thinks it is 5:00. If I change the time on the AmigaDOS side, via the time command, and using setclock save, say back to 5:00, then the Unix side is also changed … from 5:00 back to 00:00. And if I then change the Unix side, by changing to single-user mode and executing date 01290500 to change the time to 5:00, it seems to knock the AmigaDOS side back to 10:00. Just wondering if anyone has any info on this. Thanks. -Jay Pedersen
#19635From: Greg Comeau@Comeau CmptgJan 29, 1992 3:36 PM
Remember that UNIX know about time zones and savings times. I honestly never bothered to know if AmigaDOS concerns itself with this.
#19650From: Mark SterlingJan 29, 1992 8:11 PM
No problem. The UNIX side is configured with the clock set to Greenwich time. The machine asks you (during initial setup) what the offset from GMT is. I think it asks about Daylight savings time too. This would cause the 5 hr difference in my time zone which is Eastern. ….Mark Sterling 74335,1677
#19655From: Vic WagnerJan 29, 1992 8:29 PM
Jay, As a guess, I'd say you were on the East Coast. And have genned your Amiga to be in the EST timezone (-5). SO……. Unix tries to correct to 'local time' and the Amiga reports whatever the clock says. Try changing your timezone variables (in Unix) to reflect 0 hours difference.
#19673From: Don Curtis/SYSOPJan 30, 1992 2:12 AM
Jay, BTW…presuming you do have a TZ variable set, then as Vic says, simply set the Amiga to local time and change your TZ variable to EST0EDT rather than it's normal EST5EDT. Don
#19719From: John DraperJan 31, 1992 12:21 AM
Jay, dunno if it's in sVr4 or not, but try 'man zic'. -larry