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

Timer control in gallery

I want to use a timer control in gallery ,can someone help me to clear my doubt

 

1.I have 'check in time' field in a gallery, consider this field to start the timer and timer has to run for 20 minutes and turn the toggle button false.

Each record will have different time.

2.whenever ppl check in gallery needs to be updated automatically

 

For example: Check in time is 4:15 then from 4:15 timer has to run for 20 minutes til 4:35

 

Can someone help me to achieve this

 

2 REPLIES 2
RandyHayes
Super User
Super User

@PapithaSekar1 

Add your timer into the Gallery (let's say it is called Timer1).

On the Timer1 control, set the Duration to 1200000 (20 minutes)

On the Toggle, set the Default to !(Timer1.Value = Timer1.Duration)

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!
PapithaSekar1
Helper III
Helper III

Thank you Randy.
How to auto start the timer and consider the Check in time when it start. I have changed the autostart property to true,but timer is running after clicking on it.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,103)