System.currentTimeMillis()
时间: 2023-10-25 20:38:44 浏览: 49
Java获取当前系统事件System.currentTimeMillis()方法
5星 · 资源好评率100%
The `System.currentTimeMillis()` method returns the current time in milliseconds since January 1, 1970, 00:00:00 GMT (the Unix epoch). This method is useful for measuring elapsed time or benchmarking code performance.
阅读全文