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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Converting Microsoft T...
Power Automate
Unanswered

Converting Microsoft Teams Shifts Time Zones

(0) ShareShare
ReportReport
Posted on by 61

Hi all,

 

I'm having a bit of trouble trying to convert our Microsoft Teams Shifts from UTC to EST. I'm not sure where to output it honestly so I can put the result in our Sharepoint list. Putting the loop itself in there obviously throws back an error.

 

Screenshot below. Any help would be greatly appreciated, thank you very much!

 

 

hU9olgHHO5.png

 

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    on at
    Re: Converting Microsoft Teams Shifts Time Zones

    Hi @Dan-Golden :

    Do you want to convert the time in the shift list to the time in the specified time zone, and then create items with the obtained data?

    If so, the point is the convert time zone must be in the same loop as the create item to work.

    However, I think the simpler way is to directly use the formula addHours to directly calculate the date offset.For example:

    1.JPG

    Reference Expression:

    addHours(items('Apply_to_each')?['sharedShift/endDateTime'],6)
    Best Regards,
    Bof
  • Dan-Golden Profile Picture
    61 on at
    Re: Converting Microsoft Teams Shifts Time Zones

    You're a genius. Let me try that right now. Thank you so much.

  • Dan-Golden Profile Picture
    61 on at
    Re: Converting Microsoft Teams Shifts Time Zones

    Adjusting the time via expressions worked flawlessly, thank you, sir.

     

    firefox_iB9a7onlsb.png

     

    addHours(items('Apply_to_each')?['sharedShift/startDateTime'],-5)

    I used -5 for EST! Thanks again. 

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 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard