If I would like to enable the Submit button after 48 hours for the same user, How would I do that please suggest how to achieve to save the time for the user submits the record to the Sharepoint List. Then make this button available by comparing the current time with the time the record was submitted.
I am not able to compare the record was submitted with Current time - I tried by using the below formula but no success.
If(Text(Label13.Text , "[$-en-US]mm/dd/yyyy" ) = Text( Today(), "[$-en-US]mm/dd/yyyy" ),DisplayMode.Edit,/Disabled)
You would use the DateDiff() function for that.
If( DateDiff( Now(), DateValue(Label13.Text ), Hours ) > 48, DisplayMode.Edit,/Disabled )
Its not working . What I am trying to achieve here is that I am not allowing anyone to open the page again. And if wants to come for the first time it allow to do all the activity on the screen, but if he/she tried 2nd time it wount allow . He/she need to wait for 48 Hrs of time to again visit the page.
Earlier i was trying to do this which is mention below
Keep up to date with current events and community announcements in the Power Apps community.
Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.
Check out the latest Community Blog from the community!