time_t biggest = 0x7FFFFFF;
printf("biggest = %s\n", ctime(&biggest));
printf("biggest = %s\n", asctime(gmtime(&biggest)));
为什么打印的是:
biggest = Wed Apr 03 18:42:07 1974
biggest = Wed Apr 03 10:42:07 1974
都是1974年?谢谢!
time_t时间的打印
最新推荐文章于 2024-06-14 21:03:26 发布