fork download
  1. import java.time.*;
  2.  
  3. public class Main {
  4. public static void main(String[] args) {
  5. long yourValue = 1365613004461L;
  6. long correctValue = LocalDateTime.of(2013, Month.APRIL, 10, 17, 56, 44, 455000000)
  7. .atZone(ZoneId.of("Europe/London"))
  8. .toInstant()
  9. .toEpochMilli();
  10. System.out.println(correctValue);
  11. System.out.println(yourValue - correctValue);
  12. }
  13. }
Success #stdin #stdout 0.11s 59308KB
stdin
Standard input is empty
stdout
1365613004455
6