日期:2014-05-20 浏览次数:20923 次
SimpleDateFormat sdf = new SimpleDateFormat("yyyy MM dd HH:mm:ss.SS"); Date date = null; try { date = sdf.parse("2011 12 08 13:19:59.11"); } catch (ParseException e) { e.printStackTrace(); } System.out.println(sdf.format(date));