View Full Version : Is Daylight Saving On ???
Dave Byron
12 Oct 10, 10:20 AM
This is what I want to do, set pool pump schedules according to if it is daylight saving or not.
The logic help file no help.
So in the logic I want some thing like this, syntax not correct;
if daylight saving = On then
begin
set enable group = on
else
set enable group = off
end;
then use the enable group to control the schedules.
tks
dave
Hi Dave,
There's no native function to get DLS, but Inbuilt System IO will do the trick:
if GetBoolIBSystemIO("Daylight Savings") = true then
...
Cheers,
Mark.
Dave Byron
12 Oct 10, 11:56 AM
Mark
So simple when you know the answer, I tried using the wizard but no luck.
May I suggest that be put in the logic help file .
tks
dave
Darren
12 Oct 10, 01:46 PM
Mark
So simple when you know the answer, I tried using the wizard but no luck.
May I suggest that be put in the logic help file .
tks
dave
It is in the logic help file topic "In-Built System IO Variables". The index does have a reference to "Daylight Savings".
Given that there are 220 in-built system IO variables, they don't have a help file page each. Would it be worthwhile having an example for each of the in-built system IO variables?
Dave Byron
12 Oct 10, 02:13 PM
Darren
i found the reference to it in the "In Built System" etc forgot the the dash, and got a button to show status.
Maybe when you click on the "GetBoolIBSystemIO" it should show a list of which ones it applies to.
And an entry in the index that takes you to that page, after all the keyword I was using was "daylight saving".
Just a thought.
tks
dave
vBulletin® v3.7.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.