Guest User

Untitled

a guest
Jan 23rd, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. System.out.println(Instant.ofEpochMilli(14101037200000L).atZone(ZoneId.of("UTC")).toLocalDateTime());
  2.  
  3. System.out.println(Instant.ofEpochMilli(14101037200000L).atZone(ZoneId.systemDefault())).toLocalDateTime());
  4.  
  5. System.out.println(new sql.Timestamp(14101037200000L));
  6.  
  7. System.out.println(new sql.Date(14101037200000L));
Add Comment
Please, Sign In to add comment