cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Check for AllDay Events

Hello Community !

I've just created a flow that sends reminder mails (with Day, Hour and localization) for people to attend Events on a SharePoint modern communication site Calendar


Everything works fine except for All Day Events (hour is wrong). 

I'm using a variable to use in the mail : 

convertTimeZone(body('Get Event')['EventDate'],'UTC''Romance Standard Time','dd-MM-yyyy HH:mm')

Is it possible to check if Event is allday ? (i would then format only as dd-MM-yyyy)

Thanks for help
1 ACCEPTED SOLUTION

Accepted Solutions
Frequent Visitor

Hello 

I finally found an alternative : EventDate = EndDate And End hour = 11:59 (SharePoint sets that end time on All Days Events )

View solution in original post

1 REPLY 1
Frequent Visitor

Hello 

I finally found an alternative : EventDate = EndDate And End hour = 11:59 (SharePoint sets that end time on All Days Events )

View solution in original post

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (56,200)