I always forget it, so amnesia. java.time.ZonedDateTime.now().toEpochSecond() You get a number of seconds like 1516884244. that's all
java.time.ZonedDateTime.now().toEpochSecond()
1516884244
Recommended Posts