public class Time {
public static void main(String[] args) {
Date t = new Date();
DateFormat ti = new SimpleDateFormat("yyyy年MM月dd日 hh:mm:ss");
String s = ti.format(t);
System.out.println("现在是佛山时间:"+s);
}
}

相关文章:

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