time 语法: #include <time.h> time_t time( time_t *time ); 功能: 函数返回当前时间,如果发生错误返回零。如果给定参数time ,那么当前时间存储到参数time中。