How to make a simple stopwatch with appgyver?

Hello!! I want to make a simple stopwatch, just to count days, hours, minutes, seconds and milliseconds, like this:

I went to see in the component market and didn’t see there any clock component… If anyone can help me, I’ll be very grateful. Thanks!

Hi @Inacio_Norinha
you can use the something like the following formula to calculate the difference in date between time now and the date for the upcoming event.

DATETIME_DIFFERENCE(“2022-03-24T13:06:15+03:00”,NOW(), “seconds”)

and then use “set page variable” and a “delay” for a second in the logic of the page bind to page focused. then repeat connect delay again to set variable.
This will display seconds timer … you can then change it to minutes , hours …

1 Like