How to Display Time
Posted: Wed Nov 07, 2018 6:20 am
Hello everyone my question is regarding in TIME i want to see the seconds in TIME is running. i display the time (static) only. thanks in advance
Questions and answers about the LiveCode platform.
https://www.forums.livecode.com/
Code: Select all
local sRunning = false
on mouseUp
put the long time into field "timeField"
put the system date into field "dateField"
if sRunning <> true then
put true into sRunning
send "doTime" to me in 1 second
else
put false into sRunning
end if
end mouseUp
on doTime
if sRunning then
put the long time into field "timeField"
send "doTime" to me in 1 second
end if
end doTime