cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper V
Helper V

Get the date of this weeks monday and friday

Is there a way to get the dates of this week monday and friday?

 

I used Today() + 7 - Weekday(Today(), MondayZero) 

 

But it will either give me next week day, or if i remove the +7, it will give me last week. Never the current one. 

 

Any help?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: Get the date of this weeks monday and friday

@Field 

My solution assumes your week starts on Monday.

 

Here's how you get the current week's Monday

 

DateAdd(Today(),1-Weekday(Today(),StartOfWeek.Monday),Days)

 

Here's how you get the current week's Friday

 

DateAdd(Today(),1-Weekday(Today(),StartOfWeek.Monday)+4,Days)

 

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

1 REPLY 1
Highlighted
Super User
Super User

Re: Get the date of this weeks monday and friday

@Field 

My solution assumes your week starts on Monday.

 

Here's how you get the current week's Monday

 

DateAdd(Today(),1-Weekday(Today(),StartOfWeek.Monday),Days)

 

Here's how you get the current week's Friday

 

DateAdd(Today(),1-Weekday(Today(),StartOfWeek.Monday)+4,Days)

 

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (10,451)