Mysql binlog日志读出来的时间差8小时问题解决方案_获取 binlog 时间 大8-CSDN博客

网站介绍:文章浏览阅读1.3k次。//timeStamp = 2022-02-16T12:27:20.828524Z String zonedDateTime = LocalDateTime.parse(timeStamp.replace("Z", "")) .atZone(ZoneId.of("UTC"))//设置老时区 .withZoneSameInstant(ZoneId.of("Asia/Shanghai"))//设置新时区 _获取 binlog 时间 大8