把时间戳转换成标准格式
import java.text.SimpleDateFormat;
import java.util.Date;
public static class DateUtil {
public static String stampToDate(String s){
String res;
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS");
long lt = new Long(s);
Date date = new Date(lt);
res = simpleDateFormat.format(date);
return res;
}
}

浙公网安备 33010602011771号