cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Vidanaw
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
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
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 Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (41,885)