Realtime date_time() live counting not working , seconds changes on load.
dazaizone last edited by
I guess I have missing components for SetTimeOUT ? please help, thanks.
@dazaizone I guess the method you’re looking for is
setInterval, and not
setTimeout. The former call the callback function at a regular interval, while the latter call it once only, after the timeout is elapsed.
Also, may I suggest to have a look at Quasar Date Utils ? These utilities are useful to format date & time
I tried to make a pen of what you want (if I understood well your problem) : https://codepen.io/cp-tof06/pen/JjjXzjy