ekertree

System类中获取时间戳

long time = System.currentTimeMillis();
//返回当前时间与1970年1月1日0时0分0秒之间以毫秒为单位的时间差称为时间戳
System.out.println(time);

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-01
  • 2022-01-08
  • 2022-12-23
猜你喜欢
  • 2021-11-19
  • 2021-11-05
  • 2022-12-23
  • 2021-12-20
  • 2022-12-23
  • 2021-06-04
  • 2021-11-18
相关资源
相似解决方案