hi,
i have a string in this format:-
String s = year+"-"+e_month+"-"+date;
and i want to covert it into
java.sql.Date sqlToday ;
so that i can save my values in the data base
i did every thing realted to that like:-
SimpleDateFormat ts= new SimpleDateFormat("yyyy-MM-dd");
sqlToday = new java.sql.Date(ts.parse(s).getTime());
but couldnt get the results
so any one can help me
thanks