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 / Dynamic dates for Get ...
Power Automate
Answered

Dynamic dates for Get calendar dates actions

(0) ShareShare
ReportReport
Posted on by 26

Hi guys,

screenshot power automate.pngHope you are well. I'm trying to extract an outlook calendar on excel. Everything is working well when choosing a specific date (for example monday 8th of april). However, as i don't want to go to edit my flow every week, I want the action to get the calendar data from outlook to retrieve data from the current week.

 

Chat GPT is telling me to input the following:

formatDateTime(startOfWeek(utcNow()), 'yyyy-MM-ddT00:00:00') (see screenshot attached)

and this for the end of the week:

formatDateTime(addDays(startOfWeek(utcNow()), 4), 'yyyy-MM-ddT23:59:59')

 

Any idea why this is not working?

Categories:
I have the same question (0)
  • Verified answer
    ScottShearer Profile Picture
    25,290 Most Valuable Professional on at

    @matthieudumont 

    There is no startOfWeek expression in Power Automate.

    Here is a link to a post of mine from a while ago that shows how to determine the start and end of a week.

     

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard