51,397
社区成员




try {
String paydate ="2011-12-30 11:35:22";
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
Date date = formatter.parse(paydate);
System.out.println(formatter.format(date));
} catch (ParseException e) {
assert false : "it should not reach here";
}