Skip to main content

Notifications

Community site session details
Power Automate - Building Flows
Answered

Power Automate Expression, week start date and week end date for Today

Like (0) ShareShare
ReportReport
Posted on 23 Jan 2024 05:14:23 by 527

Hi

Request a Power Automate Expression, week start date and week end date for Today
Ex : India Time Zone
Today = 23-01-2024
Week start Date = 22-01-2024 (Monday)
Week End Date =28-01-2024 (Sunday)
 
Thanks & Regards
  • knsrinath Profile Picture
    527 on 24 Jan 2024 at 04:38:49
    Re: Power Automate Expression, week start date and week end date for Today

    Hi @v-yueyun-msft

     

    Thank You!

     

    Regards 

  • Verified answer
    v-yueyun-msft Profile Picture
    on 23 Jan 2024 at 05:42:42
    Re: Power Automate Expression, week start date and week end date for Today

    Hi , @knsrinath 

    You can use this code to get the Monday:

     

     if(equals( dayOfWeek(utcNow()) ,0) , addDays(utcNow(),-6) , addDays(utcNow(), sub(0, sub(dayOfWeek(utcNow()),1)) ) )

     

    You can use this code to get the Sunday:

     

    addDays( if(equals( dayOfWeek(utcNow()) ,0) , addDays(utcNow(),-6) , addDays(utcNow(), sub(0, sub(dayOfWeek(utcNow()),1)) ) ) , 6)

     

     

    The result is as follows:

    vyueyunmsft_0-1705988596773.png

     

     

     

    Best Regards,

    Yueyun Zhang

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Automate - Building Flows

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 196 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 177 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 165

Overall leaderboard
Loading started
Loading started