I am using the following queries to get the WeekStarting date and WeekEnding date depending on today's date. For e.g. the weekstarting date for today would be 6/18(Monday) and weekending would be 6/24(Sunday).
(Select dateadd(d, -(datepart(dw,getdate())-2), getdate())) as weekstarting
(Select...