web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Apps
Unanswered

Need help Please

(0) ShareShare
ReportReport
Posted on by 18
Hi Community
 
I am still struggling with a date to be inserted in a database.  How can I refresh the below before I submit the form.?
 
Issue:
 
Time now is 9:32 am.  If I update the record, Date/Time is properly inserted in the Sql server.
 
But in a given scenario, where I leave the application open and come back in 1 hr, when it is now 10:32 am, the variables are still 9:32 on the screen ( normal) and the record is being updated with that time which is wrong.
  
I want a refresh of the Date/Time fields below when I press on the Update Button, just before the SubmitForm( Form1) is executed. Please assist me with the codes to be inserted prior. Thanks.
 
 
 
  
 
 
 
 

 
Categories:
I have the same question (0)
  • JC-04111302-0 Profile Picture
    18 on at
    Hi Community

    I am still struggling with a date to be inserted in a database.  How can I refresh the below before I submit the form.?

     

    Issue:

    Time now is 9:32 am.  If I update the record, Date/Time is properly inserted in the Sql server.

    But in a given scenario, where I leave the application open and come back in 1 hr, when it is now 10:32 am, the variables are still 9:32 on the screen ( normal) and the record is being updated with that time which is wrong.

     

    I want a refresh of the Date/Time fields  below when I press on the Update Button, just before the SubmitForm( Form1) is executed. Please assist me with the codes to be inserted prior. Thanks.

     

      


     


     
  • JC-04111302-0 Profile Picture
    18 on at
  • WarrenBelz Profile Picture
    153,413 Most Valuable Professional on at
    Three posts in five minutes is only going to take this off the "no responses" list and less people will look at it. Try sending Now() in your Patch to your data source - it will send the current time. Otherwise reset the hour and minute drop-downs before you save.
     
    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 380 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 340

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 333 Super User 2025 Season 2

Last 30 days Overall leaderboard