cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper V
Helper V

Timer Control - Add to Collection and Add Values

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. 

1 ACCEPTED SOLUTION

Accepted Solutions
Power Apps
Power Apps

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!

View solution in original post

2 REPLIES 2
Power Apps
Power Apps

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!

View solution in original post

Thank you - I figured this out after some further research.  It works PERFECTLY.

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (3,531)