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 Platform Community / Forums / Power Apps / Update D365 DateTime f...
Power Apps
Unanswered

Update D365 DateTime field with Patch and Now

(0) ShareShare
ReportReport
Posted on by 42

Hi, I am trying to update a datetime field from D365 using the Patch function. I try the following: Patch(Opportunities, LookUp(Opportunities, Opportunity=GUID(Param("OpportunityId"))), {'Last contact':Now()})

 

but the time is always 00:00:00. Field in D365 is set to 'User local' type so it should be able to set the time.

 

Thanks in advance

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    on at

    Hi @ZARE  thanks for posting in the community. In reviewing your situation, I found the following documentation which states the following formula will display the current date and time: Text( Now(), "mm/dd/yyyy hh:mm:ss" )

     

    @Anonymous 

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard