Showing results for 
Search instead for 
Did you mean: 
Post Prodigy
Post Prodigy

Format date Sharepoint List to Teams message



I created a flow that send a message with details of sharepoint list that position that was either created or updated.

This flow is not bad, but a date is in this format:

2020-09-30T13:38:30Z - also it is two hours behind


I created a Data Convert Card:


but date is still the same in output:



Data Convert Card is before a action Card send Teams Message.


I cannot do it with expression. My formula always fails.

Can anyone help a bit.


I want to transform two field (Utworzony - date of creation, Zmodyfikowany - date of modification to format)



Super User
Super User

Hi @Elitezone 

Try to use the Compose action with the below-given formula, I had used the default item created date as the argument.

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


Hope it helps, please like it or mark it as a solution if it resolves your clarification or issue
-Sudharsan K...


It works but time is still 2h behind it seems to take UTC while my sharepoint list has correct time....


This is very weird.



When you are passing datetimes through triggers and actions in Microsoft Power Automate, users may find a datetime in the wrong time zone. Users may wish to convert the time zone (frequently in UTC) to their local time.


For details see: 


If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Helpful resources

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

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!


Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (34,420)