I am trying to create Simple screen with a Stopwatch and three buttons.
One start the stopwatch the second to save the in a local variable the time on stopwatch whenever I press the button, and a third one to reset the stopwatch.
THis should be something relatively simple, but I googled with every word I could think of with no luck. Could you please point me to a tutorial that I can follow?
Thanks
Joao
Hi João,
Please see this post on forge: https://www.outsystems.com/forge/component-overview/3973/stopwatch. The timer is made with JavaScript and has the 3 functions you are looking for.
Hope I was helpfull! :)
Tks,
Pedro.
Hello,
Below is the another forge component for the stopwatch,
https://www.outsystems.com/forge/component-overview/13395/js-stopwatch
Check this also.
Hope it help.
Anees
There is one similar post. Hope this helps.
https://www.outsystems.com/forums/discussion/82520/add-stopwatch-in-mobile-app/
Thanks,
Narendra
Hello
If you just check the Forge there are multiple components with demo for Stop watch -
https://www.outsystems.com/forge/list?q=stop%20watch&t=&o=most-popular&tr=False&oss=False&c=%20&a=&v=&hd=False&tn=&scat=forge
ThanksTousif Khan
Thank you but none of these solutions contain a working solution with a button to save a timestamp in a local variable.
In the example I sent you, you have the local variable "TimeTest" that stores the time after the "Get Time" button is pressed.
Pedro :)