25.09.2017, 07:22
(18.09.2017, 06:21)admin Wrote: You can create a text object and uses it as status object. Then create an event script on the main object which formats value as needed and writes to the text object. This will convert time/day to HH:MM format:
Code:value = event.getvalue()
text = string.format('%02d:%02d', value.hour, value.minute)
grp.update('32/1/4', text)
Perfect, thanks!