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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

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
    Microsoft Employee on at

    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

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

  • Dan-Golden Profile Picture
    61 on at

    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 607

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard