Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Convert time zone failed

Like (0) ShareShare
ReportReport
Posted on 20 Oct 2020 09:19:15 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 20 Oct 2020 at 15:27:20
    Re: Convert time zone failed


    Glad to hear it! 

  • Verified answer
    Community Power Platform Member Profile Picture
    on 20 Oct 2020 at 15:19:53
    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 20 Oct 2020 at 14:39:38
    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 20 Oct 2020 at 14:30:19
    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 20 Oct 2020 at 14:09:46
    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

Paul Stork โ€“ Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Communityโ€ฆ

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Featured topics

Restore a deleted flow
Loading started