I am using the timer control like a stopwatch counting laps. I add each lap to a collection and when I get to 10 laps I patch the collection to a SharePoint list.
The problem is that SharePoint sees the output from the Timer Control as Text and not a number.
My question is how should I format the Timer Control so that it's output is actually a number?
The perfect scenario would be for me to end up with numbers like 52.5 which would be 52.5 seconds. Then I can perform the required math on the backend.
Thank you for reading.
Solved! Go to Solution.
When you patch the value to SharePoint, try using the Value property of the Timer control; it contains the number of milliseconds (so divide by 1000 if you want the value in seconds) that has elapsed from the timer / stopwatch.
Hope this helps!
When you patch the value to SharePoint, try using the Value property of the Timer control; it contains the number of milliseconds (so divide by 1000 if you want the value in seconds) that has elapsed from the timer / stopwatch.
Hope this helps!
Thank you - I figured this out after some further research. It works PERFECTLY.
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
200 | |
183 | |
76 | |
46 | |
37 |
User | Count |
---|---|
326 | |
259 | |
123 | |
72 | |
58 |