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 : w/fONBh61oWp93OLaiUmO8
Power Automate - General Discussion
Answered

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

Like (0) ShareShare
ReportReport
Posted on 26 Feb 2024 19:38:04 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.

 

 

I have the same question (0)
  • Verified answer
    TrayH Profile Picture
    377 on 26 Feb 2024 at 21:22:13
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 725 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 363 Moderator

#3
Power Apps 1919 Profile Picture

Power Apps 1919 341

Last 30 days Overall leaderboard
Loading complete