logic for Custom Start Day and End Day for a week. (c#)
<p>We have a unique requirment where we have our own start day of a week and end day of a week(C#),</p>

<p>Contrary to the existing Date Time class whose start day is Sunday and end day is Saturday, we have Wednesday as our start day and Tuesday our EndDay (and this will vary per client).</p>

<p>and we need to implement the following logic</p>

<p>a) for a given date get the start Date of a week and end Date of a week</p>

<p>Ex: based on the above if the current day is  23/Sep/2010 (Thur) we need to get  22/Sep/2010 (Wed) as our Start Day and 28/Sep/2010 (Tue) as our end day</p>

<p>i apologize there is a correction the end day should be Tuesday (7 days a week)</p>

<p>Can anyone help here?</p>

<p>Thanks</p>
