Date date = new Date(Long.parseLong(String.valueOf("1560235259477")));SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");System.out.println(format.format(date));