标签:mon csdn clu 系统时间 tps amp https min log
原文链接:https://blog.csdn.net/yuec1998/article/details/79883318
#include<stdio.h>
#include<time.h>
int main(){
time_t timep;
struct tm *p;
time(&timep);
p = gmtime(&timep);
printf("%d\\%d\\%d:", (1900 + p->tm_year), (1 + p->tm_mon), p->tm_mday);
printf("%d;%d;%d\n", p->tm_hour+8, p->tm_min, p->tm_sec);
return;
标签:mon csdn clu 系统时间 tps amp https min log
原文地址:https://www.cnblogs.com/wal1317-59/p/12006030.html