JAVA date functions
I m working on struts frame work. I need to display a report in which a column contains the date field. I need to display the date in DATE data type and in mm/dd/yyyy. i am getting the date from data base in STRING format. can any one help how to do the above ?
SimpleDateFormat dayformat=new SimpleDateFormat("MM/dd/yyyy");
Date jday=dayformat.parse(jtestplan_ref);
//System.out.println(jday);
System.out.println(dayformat.format(jday));
~Tim