Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: Matt_H on January 24, 2017, 09:45:59 PM

Title: Timezone ENV vars for MiamiDX
Post by: Matt_H on January 24, 2017, 09:45:59 PM
The clock battery in my 4000T has worn out again so while I wait for its replacement to arrive I've been using Miami's "get time" feature to set the system time when going online (which happens on bootup). Miami's help docs say that it automatically sets the timezone based on the Locale settings, but that doesn't seem to be the case (perhaps the protocol on time.nist.gov has changed over the years). Instead I'm getting time 10 hours ahead. Wondering if there's another ENV variable I can set so that it will pull the correct time from the time server. Alternatively, can you suggest another time server I can try?

I know there are shell tools that will set the system time that will probably work, but I'd like to not have to set up additional scripts if possible :)

Thanks!
Title: Re: Timezone ENV vars for MiamiDX
Post by: Oldsmobile_Mike on January 24, 2017, 10:12:29 PM
Miami doesn't work with pool.ntp.org, either (at least, I could never get it to work).

Download the program NTPSync (http://aminet.net/package/util/time/NTPSync) from Aminet, stick it in C: and set like mine (obviously you'll need to adjust the number after the '-' (dash) for your correct GMT offset).

(screenshot attached)


*man, I am banging out answers to people's questions today.  Too bad a.org doesn't reward points, lol*  :lol:
Title: Re: Timezone ENV vars for MiamiDX
Post by: Matt_H on January 24, 2017, 11:59:31 PM
So I guess Miami's built in functions can't be made to do this properly? At any rate, you've given me a simpler workaround than I was expecting, so thanks! Would give you points were the option available :)
Title: Re: Timezone ENV vars for MiamiDX
Post by: Dandy on February 07, 2017, 01:27:41 PM
Quote from: Matt_H;820656


The clock battery in my 4000T has worn out again so while I wait for its replacement to arrive I've been using Miami's "get time" feature to set the system time when going online (which happens on bootup). Miami's help docs say that it automatically sets the timezone based on the Locale settings, but that doesn't seem to be the case (perhaps the protocol on time.nist.gov has changed over the years).



Hmmm - I use this since a couple of years, after the clock battery in my
A4kPPC died. IIRC, I also had to download a little tool from Aminet to make it work properly. Maybe the name was "netclock" or the like - will have to check at home tonight when I'm in front of my Miggy again.

Quote from: Matt_H;820656


Instead I'm getting time 10 hours ahead. Wondering if there's another ENV variable I can set so that it will pull the correct time from the time server. Alternatively, can you suggest another time server I can try?



Never experienced that sort of behaviour. Also was unaware that the time Server can be changed. How do you do this trick?

Quote from: Matt_H;820656


I know there are shell tools that will set the system time that will probably work, but I'd like to not have to set up additional scripts if possible :)

Thanks!



If my memory serves me right, I only needed full version of MiamiDX and this little tool from Aminet - no additional scripting...