Welcome, Guest. Please login or register.
Amiga Kit Amiga Store Iridium Banner AMIStore App Store A600 Memory

AuthorTopic: Keeping the time correct with daylight saving  (Read 687 times)

0 Members and 1 Guest are viewing this topic.

Offline AndyFC

Keeping the time correct with daylight saving
« on: April 23, 2019, 08:53:52 PM »
I use AmiTimeKeeper to sync my battery backed clock with an NTP server but NTP doesn't recognise the clocks changing.

I have tried setDST which works when first run, but when AmiTimeKeeper next runs it sets the clock back to the non DST.

Is there a way to keep the clock in Sync AND adjust it to DST?

Thanks.
A1200 in DIY Tower. 3.0 ROMS (but 3.1 in RAM), 3.5" HD, CD Rom and IDE to SD adapter running off the internal IDE port (using the A4000 4-port IDE adapter from Amigakit), Blizzard 1230-IV, with 32MB 60ns RAM and 50MHz 68882 FPU. 3COM PCMCIA Network card running with Miami DX. https://www.youtube.com/watch?v=1PrGdL6XjmE
 

Offline Darin

Re: Keeping the time correct with daylight saving
« Reply #1 on: April 23, 2019, 09:32:08 PM »
I have the same issue here.  The problem is that AmiTimeKeeper uses your locale timezone setting and doesn't recognize DST.  The workaround I use is to change my timezone so that I get the correct time.
 

Offline chris

Re: Keeping the time correct with daylight saving
« Reply #2 on: April 23, 2019, 11:13:38 PM »
I use AmiTimeKeeper to sync my battery backed clock with an NTP server but NTP doesn't recognise the clocks changing.

I have tried setDST which works when first run, but when AmiTimeKeeper next runs it sets the clock back to the non DST.

Is there a way to keep the clock in Sync AND adjust it to DST?

Thanks.

Try FACTS. I wrote it many years ago to solve exactly this problem.
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 
The following users thanked this post: Tygre, AndyFC

Offline AndyFC

Re: Keeping the time correct with daylight saving
« Reply #3 on: April 25, 2019, 10:48:08 PM »
Thank you for FACTS. I installed it tonight and it works perfectly.

I'm really impressed by the features.
A1200 in DIY Tower. 3.0 ROMS (but 3.1 in RAM), 3.5" HD, CD Rom and IDE to SD adapter running off the internal IDE port (using the A4000 4-port IDE adapter from Amigakit), Blizzard 1230-IV, with 32MB 60ns RAM and 50MHz 68882 FPU. 3COM PCMCIA Network card running with Miami DX. https://www.youtube.com/watch?v=1PrGdL6XjmE