Page 1 of 1
time zone specifier
Posted: Thu May 20, 2021 3:26 pm
by Stuart
My understanding is that if I put GMT0BST,M3.5.0,M10.5.0 in the config file, I will get daylight saving times from time$ during summer time in the UK as specified (M3:March to M10:October). But it doesn't seem to work! Ideas?
Changing GMT0BST to GMT1BST seemed intuitive but didn't do anything.
Stuart
Re: time zone specifier
Posted: Thu May 20, 2021 3:38 pm
by cicciocb
Re: time zone specifier
Posted: Thu May 20, 2021 3:38 pm
by AndyGadget
Try it as this, Stuart.
GMT0BST,M3.5.0
/1,M10.5.0
Andy.
(You beat me to it, Francesco
)
Re: time zone specifier
Posted: Thu May 20, 2021 4:49 pm
by Stuart
Silly me. Saving the config isn't enough, you have to power cycle the chip and restart it. It must only be looked at at power-up. As this particular one is built in to something it doesn't get power cycled normally. For anyone else's benefit, GMT0BST,M3.5.0/1,M10.5.0 does work for UK to get GMT in the winter and BST in the summer from the time$ function.
Thanks guys
Re: time zone specifier
Posted: Fri May 21, 2021 10:11 am
by Fernando Perez
You don't actually need to reboot the system, just force sync with the NTP server using OPTION.NTPSYNC in the "immediate" window of the editor.