Welcome, Guest. Please login or register.

Author Topic: Timezone ENV vars for MiamiDX  (Read 1451 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Matt_HTopic starter

Timezone ENV vars for MiamiDX
« 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!
 

Offline Oldsmobile_Mike

Re: Timezone ENV vars for MiamiDX
« Reply #1 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 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:
Amiga 500: 2MB Chip|16MB Fast|30MHz 68030+68882|3.9|Indivision ECS|GVP A500HD+|Mechware card reader + 8GB CF|Cocolino|SCSI DVD-RAM
Amiga 2000: 2MB Chip|136MB Fast|50MHz 68060|3.9|Indivision ECS + GVP Spectrum|Mechware card reader + 8GB CF|AD516|X-Surf 100|RapidRoad|Cocolino|SCSI CD-RW
 Amiga videos and other misc. stuff at https://www.youtube.com/CompTechMike/videos
 

Offline Matt_HTopic starter

Re: Timezone ENV vars for MiamiDX
« Reply #2 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 :)
 

Offline Dandy

  • Hero Member
  • *****
  • Join Date: Apr 2004
  • Posts: 1221
    • Show only replies by Dandy
    • http://www.wiehltalbahn.de/en/
Re: Timezone ENV vars for MiamiDX
« Reply #3 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...
All the best,

Dandy

Website maintained by me

If someone enjoys marching to military music, then I already despise him. He got his brain accidently - the bone marrow in his back would have been sufficient for him! (Albert Einstein)