C语言时间头文件

#include <time.h>

//time函数,传NULL就等于获取当前时间
time(NULL);
原文地址:https://www.cnblogs.com/ryanLee1/p/9775794.html