#Unix, AmigaDOS time
6 messages in this thread
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
Remember that UNIX know about time zones and savings times.
I honestly never bothered to know if AmigaDOS concerns itself with this.
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
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.
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
Jay, dunno if it's in sVr4 or not, but try 'man zic'.
-larry