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));
转载于:https://www.cnblogs.com/leigepython/p/11003648.html
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));
转载于:https://www.cnblogs.com/leigepython/p/11003648.html