摘要: 以毫秒为单位获取当前时间戳: #include<chrono> auto t1 = chrono::duration_cast<chrono::milliseconds>(chrono::system_clock::now().time_since_epoch()).count(); 若以秒为单位, 阅读全文
posted @ 2024-11-02 13:01 Eric13 阅读(191) 评论(0) 推荐(0)