web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Format date Sharepoint...
Power Automate
Unanswered

Format date Sharepoint List to Teams message

(0) ShareShare
ReportReport
Posted on by 905

Hello,

 

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:

Elitezone_0-1601473820429.png

but date is still the same in output:

Elitezone_1-1601473869152.png

 

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)

DD:MM:YYYY, HH:MM

 

Categories:
I have the same question (0)
  • sudharsan1985 Profile Picture
    1,325 on at

    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')

     

  • Elitezone Profile Picture
    905 on at

    @sudharsan1985 

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

     

    This is very weird.

  • CFernandes Profile Picture
    8,482 Most Valuable Professional on at

    @Elitezone 

     

    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: https://support.microsoft.com/en-in/help/4557244/converting-time-zone-in-microsoft-power-automate 

     

    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!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 173 Super User 2026 Season 1

#3
Kalathiya Profile Picture

Kalathiya 95 Super User 2026 Season 1

Last 30 days Overall leaderboard