time_t time ( time_t * timer );
Get current time.
Get the number of seconds elapsed since 00:00 hours, Jan 1, 1970 UTC from the system clock.
Elapsed time in seconds, as described.
Defined in ANSI-C.
/* time example */
seconds = time (NULL);
printf ("%ld hours since January 1, 1970", seconds/3600);
266344 hours since January 1, 1970
asctime, gmtime, localtime