How to get epoch time in millis in Java?

Instant.now().getEpochSecond()*1000

Comments