Use the below syntax
((CreatedOn_Variable.Date >= DateTime.Today.AddDays(-(CInt(DateTime.Today.DayOfWeek))) AndAlso CreatedOn_Variable.Date <= DateTime.Today.AddDays(6 - CInt(DateTime.Today.DayOfWeek))))
Hope it help!!
Use the below syntax
((CreatedOn_Variable.Date >= DateTime.Today.AddDays(-(CInt(DateTime.Today.DayOfWeek))) AndAlso CreatedOn_Variable.Date <= DateTime.Today.AddDays(6 - CInt(DateTime.Today.DayOfWeek))))
Hope it help!!