ZonedDateTime now = ZonedDateTime.now(); System.out.println(now); 得到的时间为:2020-10-27T11:53:17.875+08:00[Asia/Shanghai]