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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to Convert date fo...
Power Automate
Answered

How to Convert date format "2023-06-22T15:11:46Z" to "dd-MM-yyyy" ?

(0) ShareShare
ReportReport
Posted on by 1,066

Dear experts,

 

I need to convert this format date: 2023-06-22T15:11:46Z

to only: dd-MM-yyyy

 

I have tried it but no luck:

PeKi72_0-1687447193539.png

 

 

i get the error:

InvalidTemplate. Unable to process template language expressions for action 'Convert_time_zone' at line '0' and column '0': 'In function 'converttimezone', the value provided for date time string '["2023-06-22T15:11:46Z"]' was not valid. The datetime string must match ISO 8601 format.'.

 

P.

Categories:
I have the same question (0)
  • annetoal Profile Picture
    1,934 Moderator on at

    Use this expression:

    formatDateTime('2023-06-22T15:11:46Z', 'dd-MM-yyyy')

     

    If this helped, please mark it as a Solution.

     

    Anne

  • CU16021406-1 Profile Picture
    1,066 on at

    Still received the same error message.

    PeKi72_0-1687449605766.png

     

    formatDateTime('ResponseDate', 'dd-MM-yyyy')
  • Verified answer
    annetoal Profile Picture
    1,934 Moderator on at

    Shouldn't your dynamic output 'ResponseDate" expression look like 

     

     

    outputs('ResponseDate') 

     

     

    Can you select it from your dynamic outputs?

     

     

  • CU16021406-1 Profile Picture
    1,066 on at

    Yes, you are right. Thank you. It works now. Gr. P

  • annetoal Profile Picture
    1,934 Moderator on at

    .

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 276 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard