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

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Users online (45,089)