hello all
there is a small problem:
In a JSp i have
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("dd-MMM-yyyy");
Calendar tempEndDate = new GregorianCalendar();
tempStartDate.setTime(simpleDateFormat.parse(request.getParameter("startDate")));
the date i am getting from previous JSp is in "dd-mm-yyyy" format ; but i want to store the date in mySQL in
"yyyy-dd-mm" format.
how can i do this; please help me out.
thanks to you all to view and to reply