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

Formatin SharePoint Date in MS Flow

Hi All,

I have following Sharepoint online list.

SPlist.png

 

I tried

formatDateTime(triggerBody()?['EndDate'],'dd/MM/yyyy')

formatDateTime(item()?['EndDate'],'dd/MM/yyyy')
 
I m getting the following error.
 
error.png
Can someone please help me with this. 
Thanks.
1 ACCEPTED SOLUTION

Accepted Solutions

Hi @Vidanaw,

 

Do you still have the issue?

It may be caused by the column "EndDate" was renamed, could you find the value of EndDate in the trigger output? If you can, you could use that column name associated with EndDate in the expression.

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

View solution in original post

3 REPLIES 3
Frequent Visitor

I think I ran into the same issue before. 

 

Try formatDateTime(body()?['EndDate'],'dd/MM/yyyy').

@alice1 

Thanks for your reply, but  I'm getting

error.png

Hi @Vidanaw,

 

Do you still have the issue?

It may be caused by the column "EndDate" was renamed, could you find the value of EndDate in the trigger output? If you can, you could use that column name associated with EndDate in the expression.

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

View solution in original post

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (58,250)