How to create a stopwatch functionality?

What is the best way to create a stop watch functionality. I am trying to start a timer when the button start was pressed and stop the timer after the stop button is pressed. The counter widget is counting down from a specific value but Ii want to start at 0 and start counting untill the stop button was pressed. Is there someone familiair with this kind of functionality ?
1 answers

I would advise to create a widget for this that has the stop/start button and counter integrated. In JavaScript this should be easy to accomplish. If needed you could even connect that start/stop button to a microflow that logs the start/stop events server side. Does this stopwatch also need to be viewable by multiple users at the same time or just for a single user per instance?