No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Realtime date_time() live counting not working , seconds changes on load.

    Help
    2
    2
    111
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • dazaizone
      dazaizone last edited by

      11f4e167-89ab-454f-bb2f-7de332b22d81-image.png

      15c1aa97-9bfb-499d-a63b-79ef679428c0-image.png

      95518ce7-7366-43a4-b669-2967b19d2558-image.png

      I guess I have missing components for SetTimeOUT ? please help, thanks.

      T 1 Reply Last reply Reply Quote 0
      • T
        tof06 @dazaizone last edited by

        @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

        1 Reply Last reply Reply Quote 1
        • First post
          Last post