Plugboard timer

1 reply [Last post]
mark_baldwin
Offline
Blackburn, United Kingdom
Joined: 19 May 2012

What is the value returned with <obj>.ttl ?

The value increases if I issue <obj>:reset() but I have tried converting this to a 'readable' time but not having much luck.

Mark

mark_baldwin
Offline
Blackburn, United Kingdom
Joined: 19 May 2012
Solved

The value given is os.time() format (ISO8601) 

So to display time left I just need to display <obj>.ttl - os.time()

Hardware Info