posted 13 years ago
Hi all,
i need your help on retriving the corresponding dates sunday's date on any date given to me.
for example, if todays date i.e 06/04/2010(tuesday) is the input, i should get an output as 04/04/2010(always sundays's date on specified date).
I have written code for that but i m not getting desired output.
Please help me out on this.
what changes is to be made if i want to retrive the Mondays date on any given date.
Also is there any other better way to do so.
Please Reply and thanks in advance