cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Regular Visitor

Patch date and time in Sharepoint list

I need to patch a date and time field in a Sharepoint Online list.
I found alot of topics on this but it just doesnt work.

What am I doing wrong?

The date field gets updated but time is stuck to 01:00.


Patch(Föreläsning;{

 Datum:DataCardValue11.SelectedDate +                                                   Time(Value(Dropdown2.Selected.Value);Value(Dropdown2_1.Selected.Value);0)})

2 REPLIES 2
Responsive Resident
Responsive Resident

@36048419  Not sure if you got a chance to look at this?

 

https://powerusers.microsoft.com/t5/Building-Power-Apps/Sending-Date-and-Time-to-SharePoint-Column-T...

 

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

Community Support
Community Support

Hi@36048419,

Based on the issue that you mentioned, do you want to patch date and time to your SP list?

Could you please tell me that what is the column type corresponding to the column within you SP list, is it a Date and time?

If you have a Date and time column within your SP list, I think the formula you provided is correct. I have it tested and it works great.

In addition, I think you could consider using a form to save the date and time.

1/Create an app generated by the SP list directly.

008.png 

2/And then you could get an app directly containing three screens.

3/Click the "+" button in the first screen and it will navigate your to the third screen where has an Edit Form, you could select the date and time as you expect.

4/Click the submit button to save the date and time back to the SP list.

If this is not a Date and time type column, please correct me with the right direction.

Hope it could help.

Regards,

Qi

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Top Solution Authors
Top Kudoed Authors
Users online (91,928)