public static String fnTimeTempMillisecondToSecond(String time){
BigInteger[] resBigIntegers=null;
try {
if(time.equals("")){
return "";
}
Date d = new Date();
SimpleDateFormat sf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
d=sf.parse(time);// 日期转换为时间戳
String timeTimeps= d.getTime().toString();
BigInteger bigInteger = new BigInteger(timeTimeps);
BigInteger bigInteger2 = new BigInteger("1000");
resBigIntegers = bigInteger.divideAndRemainder(bigInteger2);
}catch (Exception e){
}
return resBigIntegers[0];
}