12.06.2018, 14:26
(12.06.2018, 14:11)Ruslan25 Wrote: Thanks a lot. One more question.
Under setpoint you wrote 20 and its in seconds, how can I convert to hours. Because I want visualize how many hours is left
Skickat från min iPhone med Tapatalk
To be honest with you I never ever used this block . I looked on the code behind and it is already in hours.
Code:
local hours = (os.time() - start) / 3600
return hours, setpoint - hours, hours > setpoint and true or nil
------------------------------
Ctrl+F5
Ctrl+F5