Hi,
In my Login screen i have add the time Text box and use the code to get the date and time.
Text Code - Text(Now().DateTimeFormat.LongDateTime)
Since the time not showing dynamically so i have add the timer to refresh the text box every 5sec.
Can some one suggest me what is code to be used for Text Box refresh using timer pls.
Solved! Go to Solution.
You can achieve this with the following steps.
Step 1: Insert > Timer Control
Step 2: Change the following properties of timer:
# | Property Name | Property Value |
1 | Duration | 0 |
2 | AutoStart | true |
3 | Repeat | true |
4 | OnTimerEnd | Set(CurrentTime, Now()) |
5 | Visible | false |
Step 3: Insert Text box control > Set Default property to Text(CurrentTime,”dddd dd/mm/yyyy hh:mm:ss”)
In this way you can see the current time in the textinput control. Run the app to see the changes.
PS: This is a PowerApps Portal forum. In future, post your queries to the right forum.
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
You can achieve this with the following steps.
Step 1: Insert > Timer Control
Step 2: Change the following properties of timer:
# | Property Name | Property Value |
1 | Duration | 0 |
2 | AutoStart | true |
3 | Repeat | true |
4 | OnTimerEnd | Set(CurrentTime, Now()) |
5 | Visible | false |
Step 3: Insert Text box control > Set Default property to Text(CurrentTime,”dddd dd/mm/yyyy hh:mm:ss”)
In this way you can see the current time in the textinput control. Run the app to see the changes.
PS: This is a PowerApps Portal forum. In future, post your queries to the right forum.
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.