web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Button to reset and st...
Power Apps
Answered

Button to reset and stert timer

(0) ShareShare
ReportReport
Posted on by 14

Hello

 

I have to use timer that will be reseted and started by one click of button.

Timer go -> click button -> reset timer -> start timer ->

 < ---------------------------------------------------------<

 

Unfortunetly my code not work:

UpdateContext({Timer1go: false});; Reset(Timer1);; UpdateContext({Timer1go: true});;UpdateContext({Timer1go: false})

 

Thank You

Categories:
  • Verified answer
    CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @gooraq 

    Please try the following,

    Set the Start of the Timer to Timer1go and the OnSelect of the StartButton to UpdateContext({Timer1go: false});UpdateContext({Timer1go: true})

    It should work like this,

    Timer.gif

    Please remember to give a 👍 and accept my solution as it will help others in the future.

     

  • Verified answer
    TheRobRush Profile Picture
    11,128 Moderator on at

    to add on to what CNT shared, before you place his code, place

    Reset(Timer1);

    to reset it to 0

  • gooraq Profile Picture
    14 on at

    Thank You, @CNT  it works 

    also @TheRobRush Thank You

  • Harikrishnan23 Profile Picture
    16 on at

    Try these steps for Start, Pause or Stop and Reset the timer.
    Set the Start of the Timer-->Timer1go
    OnSelect of the StartButton-->UpdateContext({Timer1go: false});UpdateContext({Timer1go: true})
    OnSelect of the Stopbutton--> UpdateContext({Timer1go: false})
    OnSelect of the Resetbutton--> Reset(Timer1)Screenshot 2023-03-19 100001.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 204 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard