当前位置:网站首页>[system. Currenttimemillis()] current timestamp: the number of milliseconds that have elapsed since the current system time was 0:00:00 on January 1, 1970

[system. Currenttimemillis()] current timestamp: the number of milliseconds that have elapsed since the current system time was 0:00:00 on January 1, 1970

2022-06-12 14:36:00 Understand the principle + good code skills

package org.example.testTime;

public class TestCurrentTimeMillis {
    public static void main(String[] args) {
        System.out.println(System.currentTimeMillis()); // 1645117055243
    }
}

原网站

版权声明
本文为[Understand the principle + good code skills]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/03/202203010504207458.html