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

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
alice1
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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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
Users online (1,714)