cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Salesforce
Helper III
Helper III

How capture only the date in powerapps and date and time in sharepoint

Hello All,

In power app, we have date and time(Singleline Text field ) getting captured and saved in Sharepoint using the Now() function based on the status update.

We have many single line text field created for different status field.Approval Date,Reject Date,Implement Date and close Date.

My requirement is:

When a user clicks on the Approver button -it capture's the Date and time ,but only the date should get displayed in powerapp and in sharepoint list the Date and time should get reflected,User Name should also get captured (Who is the approver).

 

Any help very much appreciated.Thanks in advance

 

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User
Super User

Hi @Salesforce ,

You can simply display it in Power Apps as 

Text(YourDateTimeField,"dd/mm/yyyy")

it will not affect the SharePoint field. The User can be referenced as 

User().FullName

 

Please click Accept as solution 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 Thumbs Up.

Visit my blog Practical Power Apps

View solution in original post

2 REPLIES 2
WarrenBelz
Super User
Super User

Hi @Salesforce ,

You can simply display it in Power Apps as 

Text(YourDateTimeField,"dd/mm/yyyy")

it will not affect the SharePoint field. The User can be referenced as 

User().FullName

 

Please click Accept as solution 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 Thumbs Up.

Visit my blog Practical Power Apps

Hello @WarrenBelz,

Thanks for the response.Appreciate your help. It's working.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (1,374)