//获取当前系统毫秒
 System.out.println(System.currentTimeMillis());
//获取当前系统纳秒
System.out.println(System.nanoTime());

相关文章: