Skip to main content

Notifications

Power Apps - Building Power Apps
Suggested answer

Get the current time not in Gadgets, pads or mobile

Posted on by 12
Hello,
 
I developed an application for attendance and has a limited time for scanning QR Code.
 
The problem is users can work around by changing their time in their mobile phones or gadgets.
 
How to prevent or get the time in the UTC or any solution for this scenario.
 
Thank you.
 
 
  • FC-05091351-0 Profile Picture
    FC-05091351-0 12 on at
    Get the current time not in Gadgets, pads or mobile
    Hello timl,
     
    I'm using the time as criteria if the time is not between from the start and end of the grace period then they cannot scan the QR code.
     
    Is there any way to get directly the server date and time?
     
    Regards,
     
     
     
  • Suggested answer
    timl Profile Picture
    timl 31,946 on at
    Get the current time not in Gadgets, pads or mobile
    Hi  FC-05091351-0
     
    When the process starts, I would suggest that you Patch or write a record to a SharePoint list.
     
    You can then retrieve the 'Created' date of this record. Because this date is generated at the Server, it'll remain accurate if the users change the time on the device. 
     
    At the end of the process, you can repeat the same process to determine the amount of time that it's taken to complete the process. 
     
     
     

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,297

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,890

Leaderboard