Apparently the Cron the time for the ONDATE
trigger was set wrong and initiated a DST
bit value to adjust the eWON devices back one hour but on the wrong day.
If the DST
tag value is set to 1 then that’s supposed to be spring forward in the Spring and if the DST
tag value is set to 0 then that’s supposed to fall back in the Fall.
It seems that at least the logic is not correct with the ONDATE 10, "0 3 25-31 10 *"
as it updated it a little sooner than it was supposed to but I was curious is you guys could help me ensure both are correct for the DST change in American time zones from EST to PST—I just need help with the Cron numbers ensuring it only triggers when expected for that change.
What we were using in our Flexy 201 BASIC script
ONDATE 9, "0 2 25-31 3 *", "IF (DOW TIME$) = 0 THEN DST@ = 1"
ONDATE 10, "0 3 25-31 10 *", "IF (DOW TIME$) = 0 THEN DST@ = 0"
ONCHANGE "DST", "GOTO Adjust_GMT_offset"
Can you help me determine the correct numbers to pass to represent:
- Second Sunday of March
- First Sunday of November