Greetings and God Bless.
On my app I have a small Text with the actual time.

I’m using the Timer class and calling the same function every half a second.
Time.create(function(){
hora.value = moment().format("LT");
},500,true);
It works but some how I feels like there has to be a better way to implement this.
Please advice.
Javier
Can you elaborate on what you want to improve? I don’t see anything wrong with the code besides maybe it should be 1000
(every second) instead of 500
every half because its every second that a second occurs (if that makes sense lol)
It does makes sense. Lol.
I was worried that it was too much work for JS and that ended making the App slower
Thanks for your help.
Javier