日期:2014-05-20 浏览次数:20744 次
public static void main(String[] args) throws ParseException {
long time = 1378356771820L;
Date date = new Date(time);
DateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
String newDate = df.format(date);
System.out.println(newDate);
}