#include <time.h> time_t time(time_t *t);
If t is not NULL, the current time is stored in *t.
NULL
*t
The current time is returned.
ANSI, POSIX
printf("Time is %d\n", time(0));
Go to the first, previous, next, last section, table of contents.