java - 系统时间代表什么?

标签 java time

打印系统时间时,例如1331783190854,这可能是什么时间?我认为它会是那么多毫秒(代码中有毫秒),但这个数字太大了。

最佳答案

假设您的意思是 System.currentTimeMillis()

the number of milliseconds since midnight on 1st January, 1970, UTC.

关于java - 系统时间代表什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9720786/

相关文章:

java - 将类本身作为其构造函数的唯一参数

java - 通过 GUI 解决 Maven 依赖项和插件

java - 在 Java 中有约束的 double ?

java - 如何将python时间转换为java日期

python - 在 python 中使用高精度时间戳

R:为一天中的时间数据分配正确的日期

java - 解析异常 : "You must register this ParseObject subclass before instantiating it."

html - 将时间类型的html输入存储到MySQL数据库中

java - 如何转换字符串 (hh :mm) to date with current date

java - 如何按字符串开头的数字对字符串数组进行排序?