cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Oskarkuus
Level: Powered On

Microsoft Flow - Export events from sharepoint calendar "today + 5 days"

Hi!

 

I hope someone can help me with a thing.
I have this line that i use to export Todays dates events from an sharepoint calendar.

This works really well!

EventDate ge datetime'@{formatDateTime(utcNow(),'yyyy-MM-dd')}T00:00:00' and EventDate le datetime'@{formatDateTime(utcNow(),'yyyy-MM-dd')}T23:59:59'


How would i change this one to make it extract all events from todays date and 5 days ahead.
So if it is monday morning. I want to extract all events from Monday, Tuesday, Wednesday, Thursday and Friday (5 days).

 

I have a flow that is triggered every monday morning.

I want to get all events from a calendar for the comming week (monday-friday).

 

How do i change above formula?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Microsoft Flow - Export events from sharepoint calendar "today + 5 days"

Hi @Oskarkuus,

 

You could change the formula as below:

EventDate ge datetime'@{formatDateTime(utcNow(),'yyyy-MM-dd')}T00:00:00' and EventDate le datetime'@{formatDateTime(addDays(utcNow(),5),'yyyy-MM-dd')}T23:59:59'

 

Best regards,

Alice

2 REPLIES 2
Community Support Team
Community Support Team

Re: Microsoft Flow - Export events from sharepoint calendar "today + 5 days"

Hi @Oskarkuus,

 

You could change the formula as below:

EventDate ge datetime'@{formatDateTime(utcNow(),'yyyy-MM-dd')}T00:00:00' and EventDate le datetime'@{formatDateTime(addDays(utcNow(),5),'yyyy-MM-dd')}T23:59:59'

 

Best regards,

Alice

Oskarkuus
Level: Powered On

Re: Microsoft Flow - Export events from sharepoint calendar "today + 5 days"

Thank you!

 

But how do you make it so that the timestamp follows another timezone?

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 258 members 4,427 guests
Please welcome our newest community members: