web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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,278 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 248 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 207 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 101 Super User 2026 Season 1

Last 30 days Overall leaderboard