摘要:
#include<iostream>#include<ctime>using namespace std;int main(){time_t now_time;now_time = time(NULL);cout<<now_time;getchar();return 0;} 阅读全文
摘要:
1.获得系统时间 time(NULL); 2.时间戳转换成日期 #include #include using namespace std;int main(){ char szBeginTime[32] ={0}; time_t tmBeginTime = ... 阅读全文