I’m currently struggling with creating a timer that counts up when the “Time Start” button is pressed that will activate in the “Time Elapsed” input box.
When “Time Start” is pressed, the input box will populate with the exact time the button is pressed. Additionally, I want the elapsed time to also populate with a timer that begins counting. I know I most likely have to use the do every 1 second workflow method, but I cannon manage to figure out the right logic for it.
Thanks for the reply. Unfortunately, I couldn’t preview the application as the results say expire and I cannot seem to add anything. However, I did try to look at the logic and I’m more so looking for something that will count up from 0, rather than countdown to 0.
Sorry if this app covers that, but I couldn’t follow it very well. I noticed that you created a database as well. Should I create one? In most of the forums I’ve read, it doesn’t seem like I should have to create a database when I want to do something ever 1 second.
Sorry for not understanding all of this, but I appreciate your help!
I’ve gotten it to partially work thanks to your link! Thanks! The only thing I really need to figure out is that I have to actually click my buttons for the timer to actually update. The do every one second option isn’t automatically updating it for me. Am I missing something?
I’m having a hard time understand which element to set to a text state. I tried to mimic yours, but I think I’m getting off track at this point. Would you mind taking a look at what I have done and seeing exactly where I went wrong?
i have a repeating group that shows posts that were made, along with dynamic text that indicates the current time-current cell post creation date:formated as minutes, and i want this to update every minute, so for example if the text says 15 minutes ago, i want it to change when it becomes 16 minutes ago, would this work for me or do you have another solution for this?
This is brilliant! Thank you for adding the conditional formatting for the timer as well. It really helped me to understand what was going on. I’m still having trouble understanding why exactly I could not get the timer to update itself every second. Is it because you had a when page is loaded function and I did not?
The only other question I have is this: Is there a way to just get it to end in minutes? For example have it say 70 minutes instead of 1 hour 10 minutes?
You guys crack me up. I love coming here and seeing all this interaction. I’m finally getting the chance to give back a little as well and it’s great. Thank you all so much for your help and feedback. Nigel thank you a ton for all the help you’ve given me. I was easily able to setup and follow along with everything.
So I’ve created the time and have done some testing however, I’ve realized that after 4 minutes, the timer will only count seconds. For example, when the time hits 4 mins. 59 secs. it should change to 5 mins. 00 secs. but it is changing to 4 mins. 60 secs. 61 secs and so on. Is my logic right for the dynamic data?
Its great that you’ve discovered a flaw in the formula : )
For testing these I recommend building a little testbed to play with the inputs, something like two date/time pickers, a seconds offset input, and then the calculations, like:
For the seconds-only component, you want to use “clock arithmetic” so that counting from 59 takes you to zero, this is called “modulo”, and pick a base of 60.
Here I have an additional input to test seconds, whereas yours will just have stop and start.