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 Platform Community / Forums / Power Apps / save Today and Now in ...
Power Apps
Answered

save Today and Now in a form

(0) ShareShare
ReportReport
Posted on by 83

If I use the TODAY and NOW function in a card and then I save the form with SubmitForm and if I have to edit it again, the previously placed time will be updated with the current time and I will lose the data entered before, how do I do it use the function, get the current date and time, save it and when I go back, keep the previously placed time without changing it to the current one?

Categories:
  • Rusk Profile Picture
    1,369 Super User 2024 Season 1 on at

    Where are you saving your TODAY / NOW values?  I would add another column (maybe named 'Last Edited'), and then save to that column if there is a value in your original column.

     

    Something like If(IsBlank('Original Submission Time'), SAVE HERE, ELSE SAVE THERE)

     

  • MayranPiran Profile Picture
    83 on at

    the data is saved in SharePoint with the date and time,
    in DefautDate I put TODAY, but I have 5 cards of value that need to be inserted with dates and times, but I put the date in a moment, I save and then I have to fill in another one and then the old card is updated

    image.png
  • Rusk Profile Picture
    1,369 Super User 2024 Season 1 on at

    So it seems your departure / arrival times have a "Default" formula that is driven by the NOW function.  Is this correct?

     

    If so, you may be able to modify your "Default" formula.  Can you share the formula you are currently using?

  • MayranPiran Profile Picture
    83 on at

    that's right


    I'm using this in hours and minutes " Text(Hour(Now());"00")"

    already on the date DefautDate I am using TODAY()

  • Verified answer
    Rusk Profile Picture
    1,369 Super User 2024 Season 1 on at

    Something like this might work for your "Default" formula, assuming that the card with the dropdown is referencing the saved time value:

    If(IsBlank(ThisItem.'Your Column Name'),Text(Hour(Now()),"00"),Parent.Default)

     

    So check if the saved time column for the item you're working on is blank, if so use the NOW default, if not use the saved one.

     

  • Verified answer
    MayranPiran Profile Picture
    83 on at

    THANK YOU SO MUCH FRIEND, it was perfect, it saved my job hahaha, thank you very much...

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard