JAVA获取中国标准时间20210409T084227.128+0800
java获取中国标准时间网上介绍比较少,我就自己写了一个
DateFormat sdf1 = new SimpleDateFormat("yyyyMMdd'T'HHmmss.SSS+0800");
sdf1.setTimeZone(TimeZone.getTimeZone("GMT"));
String date = sdf1.format(new Date());
//20210409T113025.625+0800
System.out.println("\n=========\n" + date);