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

Community site session details

Session Id : 3N7hFiHeyUplFUgmvn2RMa
Power Automate - Building Flows
Answered

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

Like (0) ShareShare
ReportReport
Posted on 22 Jun 2023 15:20:19 by 1,037

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.

I have the same question (0)
  • annetoal Profile Picture
    1,934 Moderator on 22 Jun 2023 at 21:56:43
    Re: How to Convert date format "2023-06-22T15:11:46Z" to "dd-MM-yyyy" ?

    .

  • CU16021406-1 Profile Picture
    1,037 on 22 Jun 2023 at 17:03:13
    Re: How to Convert date format "2023-06-22T15:11:46Z" to "dd-MM-yyyy" ?

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

  • Verified answer
    annetoal Profile Picture
    1,934 Moderator on 22 Jun 2023 at 16:10:35
    Re: How to Convert date format "2023-06-22T15:11:46Z" to "dd-MM-yyyy" ?

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

     

     

    outputs('ResponseDate') 

     

     

    Can you select it from your dynamic outputs?

     

     

  • CU16021406-1 Profile Picture
    1,037 on 22 Jun 2023 at 16:00:18
    Re: How to Convert date format "2023-06-22T15:11:46Z" to "dd-MM-yyyy" ?

    Still received the same error message.

    PeKi72_0-1687449605766.png

     

    formatDateTime('ResponseDate', 'dd-MM-yyyy')
  • annetoal Profile Picture
    1,934 Moderator on 22 Jun 2023 at 15:35:48
    Re: How to Convert date format "2023-06-22T15:11:46Z" to "dd-MM-yyyy" ?

    Use this expression:

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

     

    If this helped, please mark it as a Solution.

     

    Anne

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete