1) Give a description of the problem
Comparison between Times
2) What is the expected behavior?
As above
3) What is happening/not happening?
Not giving a correct variable return from the comparitive times
4) Post a Green Snapshot of the piston
5) Attach any logs (From ST IDE and by turning logging level to Full)
01/01/2018, 23:51:06 +795ms +0ms ╔Received event [Home].execute = :958548d202f5e178b0e3d5ce2a572757: with a delay of 40ms +106ms ║RunTime Analysis CS > 15ms > PS > 31ms > PE > 61ms > CE +108ms ║Runtime (36976 bytes) successfully initialized in 31ms (v0.2.101.20171227) (107ms) +109ms ║╔Execution stage started +122ms ║║Comparison (time) 57066909 is_between (time) 60000 .. (time) 57600000 = true (6ms) +123ms ║║Time restriction check passed +124ms ║║Condition #3 evaluated true (10ms) +125ms ║║Cancelling statement #3's schedules... +129ms ║║Requesting time schedule wake up at Mon, Jan 1 2018 @ 4:00:00 PM PST +131ms ║║Condition group #1 evaluated true (state did not change) (17ms) +133ms ║║Cancelling statement #9's schedules... +137ms ║║Executed virtual command setVariable (1ms) +139ms ║╚Execution stage complete. (30ms) +141ms ║Setting up scheduled job for Mon, Jan 1 2018 @ 4:00:00 PM PST (in 533.065s) +149ms ╚Event processed successfully (150ms)
Hi all.
I’m a novice who started today, but please don’t think I have not tried to google or figure this out. I hate asking.
Anyway I understand the whole UTC time and how time is portayed in the logs however I have set the time (I assume this is correct) between 12.01AM (60000) and 4PM (57600000) with a simple program above, however the comparitive time 57066909 does not match the current time (currently taken just before midnight)
I figure there some programing faux pas I’m commiting, please be gentle.
Many thanks