JAVA系统时钟(当前系统秒数)转成北京时间
public static String UTCtoCST(long sec){
long utc = sec*1000L;
SimpleDateFormat format = new SimpleDateFormat("yyyyMMdd.HHmmss"); //格式按需自定义
format.setTimeZone(TimeZone.getTimeZone("GMT+08")); //北京时区GMT+8
String time = format.format(new Date(utc));
return time;
}