新手 SimpleDateFormat df1 = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
java.util.Date date11 = df1.parse("2010-6-2 16:10:38.00");
String time = df1.format(date11);
Timestamp ts = Timestamp.valueOf(time);
System.out.println(ts);
用這段代碼valueOf那報(bào)錯(cuò)