I have to do a validation on date in my form. I get a string of the format "dd/mm/yyyy" in my form. now i have to check that this date should be of the past including the present week(for eg. if I add the entry on 04/09/2007 then all the values upto 08/09/2007 should be valid) . Can anyone tell me how should I do this validation?