Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Convert time zone failed

(0) ShareShare
ReportReport
Posted on by

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

  • Community Power Platform Member Profile Picture
    on at
    Re: Convert time zone failed


    Glad to hear it! 

  • Verified answer
    Community Power Platform Member Profile Picture
    on at
    Re: Convert time zone failed

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

  • Community Power Platform Member Profile Picture
    on at
    Re: Convert time zone failed

    @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

  • Community Power Platform Member Profile Picture
    on at
    Re: Convert time zone failed

    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
    on at
    Re: Convert time zone failed

    @ramaseko 

     

    could you provide a screenshot of that action block?

     

    specifically, what is the value of "StartTime"?

     

    thanks,

    Kyle

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,618 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,962 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow