Loop timer in my blynk App

I have a loop in my index.js like that:

setInterval(function(){
    "CODE"
}, 30000);

Now I want to show the current time in my blynk App until the loop starts again.
Like a timer from 30secs down to 0secs.

Thanks for helping me.

As this type of stuff is just plain old “How to code in JS” and not Blynk specific, I typed out your Google search for you, you are welcome :stuck_out_tongue_winking_eye:

https://www.google.ca/search?newwindow=1&rlz=1C1CHBF_enCA814CA814&q=looping+countdown+timer+in+Node+Js

Then once you have it working, you can try to output the result to Blynk. That is something we are better able to assist with.