hi, i have a form in which the user has to enter a date in the format dd-mm-yyyy. it can be any date. i want to store the previous day in my database.
eg: if the date entered is 01-01-2009 then the new date that should be entered to data base should be 31-12-2008.
can some one pls help me with this.
thanks in advance..