try {String dateString = "2009-08-02 13:43:00";DateFormat df = SimpleDateFormat("yyyy-MM-dd HH:mm:ss");Date date = df.parse(dateString);} catch(Exception ex) {}
结果:date --> Sun Aug 02 13:44:00 CST 2009