标签:时间戳转换
private String TimeStamp2Date(String timestampString){
Long timestamp = Long.parseLong(timestampString)*1000;
String date = new java.text.SimpleDateFormat("yyyy- MM-dd").format(new java.util.Date(timestamp));
return date;
}
标签:时间戳转换
原文地址:http://11912463.blog.51cto.com/11902463/1841457