Looking for Countup Timer

Looking for a Countup timer, that shows on the page how much time has passed since a record is created. Its like countdown timer, but instead of counting down, it should start from 00:00:00 and go up. I know it can be achieved using Microflow Timer and updating the time in the backend, but having this feature in a widget will help with performance.
1 answers

Add the HTML-widget to your page and to that widget add this script

setInterval(function () {
    var x1;
    x1 = document.getElementsByClassName('mx-name-TickingTime');
    [].forEach.call(x1, function (el) {
        el.innerHTML = new Date();
}, 1000);

That is what makes the clock tick on https://mydemoversion8-sandbox.mxapps.io/p/home

If you want to call a nanoflow from this javascript, read this post: https://mymendix.blogspot.com/2019/06/how-to-call-nanoflow-from-html.html