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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

Convert date from UTC

(0) ShareShare
ReportReport
Posted on by

 

Hello Everyone,

When building a flow, i'm having trouble with the date when adding a row into excel. I know i must convert the time zone to my location, but i can't run the flow with succes with this expression:

convertFromUtc(items('Herfstvakantie_toevoegen')?['Start'],'W. Europe Standard Time','dd-MM-yyyy')

 

When running the flow, i get the next error box:

 

"

Cannot process the template language expressions in the input for the Vakantie_toevoegen_aan_tabel on line 1 and in column 2875: For the template language function convertFromUtc, the first parameter is expected to be a string containing a UTC date / time. The value is 2020-01-08T00: 00: 00.0000000. Go to https://aka.ms/logicexpressions#ConvertFromUtc for usage information.

"

As you can see, the value is a date in UTC format.

 

Note: The "convert time zone" must be an expression and not an action. The expression is adding an row in Excel.

Excel zoomed in.png

Al the expressions with the text "start" and "eind" are going to changed with the expression exaple above.

There is no room any more for more actions...

Excel zoomed out.png

 

Thanks in advance 🙂

 

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @Anonymous 

     

    Try the below.

     

    convertFromUtc(string(items('Herfstvakantie_toevoegen')?['Start']),'W. Europe Standard Time','dd-MM-yyyy')

     

    Thanks

     

  • Community Power Platform Member Profile Picture
    on at

    Hi @abm ,

    Thank you for your comment. Unfortunnaly your idea didn't solve the case. Got the same error result mentioned above.

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @Anonymous 

     

    Try using Convert Time Zone action step

     

    See below

     

    image.png

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard