first day of week help

Bigbacon

Fully [H]
Joined
Jul 12, 2007
Messages
21,284
using C# and ASP.Net

I need to find the date of the first day in a given week BUT the first day of any week in a monday and the last day of any week is a sunday.

so example if I used a date of 1/1/2012, the first day of that given week would be 12/27/2011

also need the same thing for the end of a week.

so if I had 12/30/2012 then I would get 12/30/2012 since the last day of a given week would be a sunday.
 
Back
Top