SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
String sd = sdf.format(new Date(Long.parseLong("1529045276")*1000));   // *1000 解决1970年问题
System.out.println(sd);

 

相关文章:

  • 2021-12-10
  • 2021-09-29
  • 2022-01-16
  • 2021-12-10
  • 2021-12-10
  • 2022-12-23
  • 2021-12-19
猜你喜欢
  • 2021-12-05
  • 2021-10-03
  • 2021-10-13
  • 2021-12-05
  • 2021-11-28
  • 2021-11-28
  • 2021-11-19
相关资源
相似解决方案