Introduction
In this blog, we will understand how to create a clock in Power Apps using Timer control.
Step 1. Add Timer control to your app and set the duration property of timer control to 1000 (representing 1 second). In the OnTimerEnd property, write the given formula to update the variable with the current time.
Set(CurrentTime,Now())
Set AutoStart and Repeat property to “true”.
Step 2. Set the text property of time to the following formula.
Text(CurrentTime,DateTimeFormat.LongTime)
Implementing a clock in Power Apps can be useful in various scenarios, such as tracking the duration of a task or displaying live time updates in your application.