in reply to Re^2: Care to simplify some working code?in thread Care to simplify some working code?
Beware the caveats! See Is there an easy way to get the start date of the current week? for discussion of most of them.