public static String timeStamp2Date(Long seconds) {
if(null==seconds){
return "";
}
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
Long time = new Long(seconds);
String d = format.format(time);
return d;
}
}
http://blog.csdn.net/heng615975867/article/details/36016617