Dear all
problem:Quote:
Date dob = new Date("02" + "/" + "03" + "/" + "1983");
DateFormat df = DateFormat.getDateInstance();
String str = df.format(dob);
dob = new Date(str);
System.out.println(str);//Feb 3, 1983
System.out.println(dob);//Thu Feb 03 00:00:00 IST 1983
I want to store "Feb 3, 1983" in dob but this i get through String object str only.
Is there any way to store "Feb 3, 1983" in dob as an output rather than "Thu Feb 03 00:00:00 IST 1983".
I need this because i need to pass the dob object further rather than String object which gives correct result.
waiting for ur reply..............:)
