// Procedure used to regularly display the time in TIME1PROCEDURE Display_Time()TIME1 = TimeSys()

// Process when opening the window or the page// Display_Time will be automatically called every secondTimerNum is intTimerNum = Timer("Display_Time", 100, 1)IF TimerNum = 0 THENError("Unable to create the timer")END

// Stop the timer during a click on the "StopTimer" buttonEndTimer(TimerNum)