函数名: time
功  能: 取一天的时间
用  法: logn time(long *tloc);
程序例:
#include <time.h>
#include <stdio.h>
#include <dos.h>
int main(void)
{
   time_t t;
   t = time(NULL);
   printf("The number of seconds since January 1, 1970 is %ld",t);
   return 0;
}