if its possible than how please tell me asap?
Solved! Go to Solution.
I mean, your on screen time (timer) would just key off the Checked-in date/time. So you just need to store that, then when you open the app do the delta with the current date time value, until there is a check out or other rule happens to turn that timer off.
By default this is not possible. You could try implementing some variables and store them on the device with SaveData and then reload them back on app start, but unfortunately I can't think of any place where you would save data exactly when the app closes.
Hi @Akashdeep
As @OanaBoghici mentioned,
I mean, your on screen time (timer) would just key off the Checked-in date/time. So you just need to store that, then when you open the app do the delta with the current date time value, until there is a check out or other rule happens to turn that timer off.
Basically, you add a timer and hide it, have duration 1 or 5 seconds, turn repeat to true, then change the onstart or whatever it is you can use a global variable and just calculate the time difference between your stored "Check-in" date/time from the today() function and then display that variable in a label somewhere and that is your timer. It'll update every 1 / 5 seconds with the current check in time.
Set the timer's AutoStart property to true and its Visible property to false.
The timer is invisible and starts automatically.
Set the screen's On Start property Set(Current Time, Now())
Refer:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-now-today-istoday
Thank you
will u explain how we can do that , step by step ?
Hi,
How would you link your timer to the label holding the difference between Today() & the check-in variable? Can't see that myself just yet.
Kind regards!
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
User | Count |
---|---|
170 | |
94 | |
65 | |
64 | |
61 |
User | Count |
---|---|
226 | |
162 | |
95 | |
82 | |
81 |