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 / Convert time zone failed
Power Automate
Answered

Convert time zone failed

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi Experts,

 

I am new to the world of Power Automate/Flows and have been trying to edit an existing flow which looks to run fine until the 'Convert time zone' stage where I get the following error:

 

InvalidTemplate. Unable to process template language expressions for action 'Convert_time_zone_3' at line '1' and column '25969': 'In function 'converttimezone', the value provided for date time string '' was not valid. The datetime string must match ISO 8601 format.'.

 

 

This is what I have within convert time

 

Base Time: StartDate

Format String:  Full date/time pattern (short time) - Monday, June 15, 2009 1:45 PM [f]

Source time zone:  (UTC) Coordinated Universal Time

Destination time zone: (UTC+00:00) Dublin, Edinburgh, Lisbon, London

 

Does anyone have an idea why this error is occuring?

 

Thanks

Ramson

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @ramaseko 

     

    could you provide a screenshot of that action block?

     

    specifically, what is the value of "StartTime"?

     

    thanks,

    Kyle

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks for your response Kyle â€Œâ€Œ


    Unfortunately it doesn't let me save an image on here.

     

    The below is what I have in start date:

    @{items('Apply_to_each')?['StartDate']}


    Apply to each - is for each language variation where I am wanting to convert to local time - hope that makes sense?

     

    Thanks

    Ramaseko

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @ramaseko 

     

    Can you go to the output of one of the failed runs and copy/paste the input value of "Start Date"?

    It seems that the flow doesn't like the format of the date/time that you are passing in, and I am trying to determine what format that is currently.

     

    Also, I'm not really understanding what the referenced "Apply to Each" loop is iterating through, can you be a little more specific? is it a table in a spreadsheet? A SharePoint list?

     

    thanks,

    Kyle

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Not sure what happened - but just reran and looks like it has now succeeded - thanks for your help 😊

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at


    Glad to hear it! 

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 598

#2
Valantis Profile Picture

Valantis 477

#3
Vish WR Profile Picture

Vish WR 370

Last 30 days Overall leaderboard