(ANSI Standard)
#include <time.h> timenum = time(timeptr);
timenum = time( NULL );
"time" will not attempt to store the time number in this way.
"time" returns the time of day as a number. The "time_t" type is defined in <time.h>. This number can be converted to a more intelligible time format using "ctime" or "localtime".
Copyright © 1996, Thinkage Ltd.