ich have a Problem. I Read and test since 4 Hours and can't get it work. i neet the following:
I have an switch that should torned on between 2 Time frames. eg.
Switch = on (when time 12:13 - 12:37 Uhr)
Switch = off (when time 12:38 - 12:12 Uhr)
the following i Have:
Code: Select all
if ((tonumber(uservariables["Hour"]) >= 14 and tonumber(uservariables["Minute"]) >= 30) and (tonumber(uservariables["Hour"]) <= 14 and tonumber(uservariables["Minute"]) <= 35)) then print("Uhrzeit zwischen 14:30 und 14:35") end
i hope that anybody can help me to get this to work.
Regards
Marcel