How to display how much time has passed since a button is pressed

Hey @Caroline ! Thanks for your answer.

Unfortunately this method does not work, I’d already tried it but:

  1. I need a clock that displays the time passing by.
  2. I need a solution that prevents the website to “pause” while executing the function, because when the user presses the button, besides starting the timer, multiple functions have to execute.

I found this solution with asyncio but unfortunately I can’t seem to make it work for my needs.