1、java、android中获取当前时间

   this.sdf = new SimpleDateFormat("yyyy/MM/dd-hh:mm:ss", Locale.CHINA);
        String time = sdf.format(new Date(System.currentTimeMillis()));

相关文章:

  • 2021-12-19
  • 2022-02-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-05
猜你喜欢
  • 2021-05-15
  • 2022-12-23
  • 2021-09-14
  • 2021-08-13
  • 2021-12-30
  • 2021-09-30
  • 2021-10-14
相关资源
相似解决方案