Hi All,
Am having a calendar control for my page where am getting date in dd/mm/yyyy format which is taken as a
string.
And am converting that string to DateFormat and then to Calendar. Below is the code which I have used
1) I need a logic in such a way that if I select a date it has to check the day and if its not monday it has to get the Monday of that particular week.
For example like if he selected "26/8/2009" the day will be Wednesday, I need a logic where it gives "24/8/2009" as it is monday of that particular week.
2) And next is after getting "24/8/2009" , I need one more logic like it has to get date of next four weeks that is "21/9/2009"