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 Platform Community / Forums / Power Apps / How solve issue with t...
Power Apps
Unanswered

How solve issue with timezone format for dubai in flow

(0) ShareShare
ReportReport
Posted on by 6
I have created a flow but getting below error please help

InvalidTemplate. Unable to process template language expressions for action 'Strategy_1' at line '1' and column '2799': 'The template language function 'convertToUtc' expects its second parameter to be a time zone matching the time zone indicated by the timestamp. The provided value '(UTC-08:00) Pacific Time (US & Canada)' is not valid or does not match the timestamp '2020-02-24T15:30:00.0000000Z'. Please see https://aka.ms/logicexpressions#ConvertToUtc for usage details.'


The value is
div(div(mul(sub(ticks(utcNow()),ticks(convertToUtc(items('Apply_to_each')?['column name'],'Arabian Standard Time'))),100),1000000000),60)

I think i have doing something wrong in arabian standard time also my entity column type is date time & behavior is userlocal.

TIA
I have the same question (0)
  • Satish1024 Profile Picture
    279 on at

    Have you tried 'convertTimeZone' function? 

    Something similar to your problem is already answered here. Check if it helps

    https://powerusers.microsoft.com/t5/General-Power-Automate/Formatting-Date-And-time-in-MS-Flow/m-p/71617

     

    Please mark it as answer if my post helps.

    Thanks
    Satish Reddy
    https://pascalcase.com

  • MYTYwarrior Profile Picture
    6 on at

    Thanks Satish for the replay.

     

    still it is not working

     

    i have tried below code

     

    div(div(mul(sub(ticks(utcNow()),ticks(convertTimeZone(items('Apply_to_each')?['ColumnName'],'Arabian Standard Time'))),100),1000000000),60)

     

    TIA

  • Satish1024 Profile Picture
    279 on at

    Can you tell me what exactly you are trying to do apart from timezone conversion? Are you modifying time also? 

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard