语法:
#include <ctime> time_t time( time_t *time );
函数 time() 返回当前时间 (秒数),返回-1表示出错。 如果指定参数time,则存储到参数time中。
相关主题: asctime, clock, ctime, difftime, gmtime, localtime, mktime, srand, strftime