cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jbrit2020
Super User
Super User

Saving datetime from Powerapps to Sharepoint

How difficult can this be?

 

I'm using a sharepoint list to save some records from a powerapps app, and I'm trying to save dates on sharepoint.

 

With a sql datasource this works great, no issues whatsoever, but with a sharepoint list when I patch NOW() it will take the Date but it will save the time as 12:00AM.

 

I've tried converting in powerapps and saving it into sharepoint as Text, but then when I try to display the dates in Powerapps and order them, it won't work as they are seen as string and not Date.

 

How do I sort this out? Code below:

 

If(TextInput1_1.Text = "",Reset(TextInput1_1),Patch(ORMActionupdates, Defaults(ORMActionupdates),{Title: actionslog.Actions,Updatedby:User().FullName,UpdatedByEmail:User().Email,Dateupdate:Now() ,meetingupdate:TextInput1_1.Text}));Reset(TextInput1_1)

 Regards,

10 REPLIES 10
RandyHayes
Super User
Super User

@jbrit2020 

So if you don't have access, you might not be able to create new lists as well!?  

Out of curiosity, what happens if you enter a date and time into the list directly?  Does it even offer to allow time entry?  If so, does it show properly?

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (1,080)