Function should let me select whats my beginning of the week is.
If i select my beginning of week is thrusday .
5/30/2013 returns 5/30/2013 which is thruday
5/31/2013 returns 5/30/2013 which is thruday
6/1/2013 returns 5/30/2013 which is thruday
6/2/2013 returns 5/30/2013 which is thruday
6/3/2013 returns 5/30/2013 which is thruday
6/4/2013 returns 5/30/2013 which is thruday
6/5/2013 returns 5/30/2013 which is thruday
6/6/2013 returns 6/6/2013 which is thruday
6/7/2013 returns 6/6/2013 which is thruday
6/8/2013 returns 6/6/2013 which is thruday
Example
If i choose Thrusday as my begnning of week then it should