获取10位长度的时间戳
java
LocalDateTime localDateTime = LocalDateTime.now().plusSeconds(30);
long timestamp = localDateTime.toEpochSecond(ZoneOffset.UTC);
System.out.println(timestamp);
// 1718705087