Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

Odata Time Conversion in Power Automate

(0) ShareShare
ReportReport
Posted on by

Hello Users,

I am using http Get request to get data from Talent entity. The entity of "Talent" has a field Named "Employement End Date". The problem I am facing right now is, I am getting different date time in my odata output, 
Please see the screenshot below.


Talent Front End Time:
Screenshot_16.png

 

The date I am getting from odata get request
EmploymentEndDate":"2020-02-10T01:00:00ZEmploymentEndDate":"2020-02-10T01:00:00Z

 

I am getting EmploymentEndDate":"2020-02-10T01:00:00Z which is different from talent Front end Date and Time.
There is a Timezone difference. If there is any way I can get Odata output without any timezone effect and will get the same time as present in Talent Front End. Or If there is any odata function which convert the time zone back to its original time as in Talent.

 

I am looking forward for a quick response.

Thanks

Best Regards 
Hunain Sami

 

  • Re: Odata Time Conversion in Power Automate

    Hi @edgonzales Thanks for your response,

     

    The challenge is that, I dont want to use Flow action to convert the timezone back to its origibal state, I want to get the timezone converted back to its original position within the Odata url call, so if there is any way that the timezone never effected in Odata call. If I use converttimezone action this process will get into loop for all employees and will take too long time to execute.

     

    Regards

    Hunain

  • Ed Gonzales Profile Picture
    Ed Gonzales 4,531 on at
    Re: Odata Time Conversion in Power Automate

    @Anonymous 

    Hi there.  So, the date in your get request is actually the original format.  All dates are stored in UTC/GMT and then altered on the front end as you've illustrated.  The "Z" at the end of your backend data indicates "Zulu" or "UTC" timezone.

     

    You can use either a step "Convert Timezone" or the function convertTimeZone() to change the presentation of the backend data to your local zone.  Here is a link to the Date Time functions.

     

    Hope that helps, keep us posted.

    -Ed-

     

    If you liked this reply, please give it a thumbs up! If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,508

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,839

Leaderboard