Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - General Discussion
Answered

Getting the correct time in Power Automate for SharePoint calendar events - all day events vs shorter/same day events

(0) ShareShare
ReportReport
Posted on by 377

I'm working on re-writing some old SP Designer workflows in Power Automate, and I've noticed some inconsistencies with how it handles all day events vs same day events aka calendar entries that only span a few hours.

 

I'm aware that SP stores its events in UTC time, so because of that I've seen people recommend using the Convert Time Zone action. This works great for same day events and my times are displayed correctly. For example, here is an entry that was submitted for 3/1 from 12:30 PM - 2:00 PM - 

Item in SharePoint - 

TrayH_1-1708975884857.png

And how it came across in Power Automate - 

TrayH_0-1708975822097.png

 

However, all day events are not working correctly in this scenario. This is how the all day event appears in SharePoint - 

TrayH_2-1708976039736.png

 

And you can see that convert time is showing incorrect times for the start and end after doing the convert time zone - 

TrayH_3-1708976121203.png

 

Basically with all day events, in order to get the correct time it appears you do not need to convert the time zone. But with same day events, in order to get the correct time you do have to convert the time zone. Has anyone else run into this? I really don't want to have to create a condition and setup separate notifications based on if something is an all day event or not, so I'm hoping there is a better solution than that. Even if I wanted to go the condition route, I'm not sure how I'd do that as 'All Day Event' isn't an option within the dynamic content.

 

 

  • Verified answer
    TrayH Profile Picture
    377 on at
    Re: Getting the correct time in Power Automate for SharePoint calendar events - all day events vs shorter/same day events

    After some further research it looks like this is a known issue with all day events vs same day. I ended up creating different notifications for all day vs same day. As all day event is not available in dynamic content, I created a condition based on the end time of the event - if the end time contained 11:59, then I know it's an all day event.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - General Discussion

#1
stampcoin Profile Picture

stampcoin 23

#2
Pstork1 Profile Picture

Pstork1 20 Most Valuable Professional

#3
Gprior Profile Picture

Gprior 19

Overall leaderboard