Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Sharepoint Datetime

Hello, I have two SHP lists and a flow that copies contents of items from list A to list B.


As of last week (not sure when precisely) this flow is broken with:

"status": 502, "message": "The string was not recognized as a valid DateTime.

There is an unknown word starting at index 0.",


I can see that flow is trying to input date in format: 2017-06-27, which is strange as the source and target lists are formated in the same way 06/27/2017.


The trigger is: when a SHP item is modified and the output is also 2017-06-27.


SHP is set to US datetime formatting.


Is there a way to parse it from 2017-06-27 to 06/27/2017?


I looked into

but am afraid that it would take me too long to figure it out by myself. Anyone had similiar problem?


Community Support Team
Community Support Team

Re: Sharepoint Datetime

Hi @avt,


I think the date format is not the issue.

Flow would use the UTC format for the date time, and after the date string has been submitted to the data source, it will then change to the format defined at the data source side.

Would you please share a screenshot of the running details for the failed flow? Specially the SharePoint Update item Action, make sure the Error message is captured.


Further, if you would like to Input the date string manually, then make sure the string format is as below:


Flow input boxes do not support the other date formats currently.


Besides, if you would like to have Microsoft Flow recognize the time format, we could take use of formatDateTime() function, with the help of the Compose Action, after that, use the output of the compose Action as the Value input in the SharePoint Update item action.






Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources


Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!


Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors
Users online (4,898)