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

Announcements

News and Announcements icon
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
    154,536 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 545 Most Valuable Professional

#2
Haque Profile Picture

Haque 314

#3
Kalathiya Profile Picture

Kalathiya 234 Super User 2026 Season 1

Last 30 days Overall leaderboard