If we want to display time in hh:mm format:


1. Create the user variable "Zmienna" of type string


2. Prepare the script it contains:

local a

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

CLU->Zmienna=a


3. The script must be run every time for the time to be updated 60 000ms 


The value of the "Zmienna" feature can now be displayed on the Grenton Smart Panel or in the mobile application.