Skip to Content
0
Former Member
Sep 28, 2008 at 06:44 AM

Calculating week of the year from a date

36 Views

Hi Experts,

I have a scerario in which i have to calculate the date on which a week starts.

For ex,

If I am giving the date say 28.09.2008 then it should show the date on the start of week in which this date present. i.e It should show 22.09.2008 as this is the day on which the week (22.09.20008-28.09.2008) starts.

If I am giving the date say 30.09.2008 then it should show the date on the start of week in which this date present. i.e It should show 29.09.2008 as this is the day on which the week (29.09.20008-04.10.2008) starts.

Please help me regarding this.

Thanks a lot.

Krishan