In order to display time in the hh:mm format:


1. Create the user variable time_format_variable of string type.

2. Prepare the following script.

local a

a=string.sub(tostring(CLU->Time),1,5)
CLU->time_format_variable=a


3. For the time to be updated, the script should be run every 60 000 ms.
Create a Timer virtual object (Time= 60 000 ms, Mode = Interval) and assign above script to OnTimer event.


The value of the time_format_variable feature may be displayed on the Grenton Smart Panel or in the mobile application.