06.05.2017, 13:09
For checking if some object was updated in the last 16 hours you can do this:
Code:
last_timestamp = grp.find("1/1/1").updatetime
now = os.microtime()
if (now - last_timestamp) >= 16*60*60 then updated = true else updated = false end