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:
  • 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
    156,940 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 130

Last 30 days Overall leaderboard