This is just a quick script for a scalar function to return the first day of the current week. With a little modification you could add a parameter so you could pass it a date and have it return the first day of that week. It's also easy to adjust the numeric value for the days in the event your week starts on Sunday.
Have fun!
CREATEFUNCTIONF_wtd() returnsDATE AS BEGIN DECLARE@resASDATE