Hello,
Im taking the date as dd/MM/yyyy from the user.I want to save it in the database which holds dates in Dste type.
Part of the codings Ive used are given below.
String TodaysDate = "12/30/2003";
SimpleDateFormat formatter= new SimpleDateFormat ("dd/MM/yyyy");
Date today = formatter.parse(TodaysDate);
and so on..
But this doesnt work.
Anyone knows how to convert string date to Date type to save in to a db as well as give the date to the user when required in string format.
Pls help me.
Thanks in advanced for any help...
[ May 25, 2004: Message edited by: Bear Bibeault ]