Go to the first, previous, next, last section, table of contents.


time

Syntax

#include <time.h>

time_t time(time_t *t);

Description

If t is not NULL, the current time is stored in *t.

Return Value

The current time is returned.

Portability

ANSI, POSIX

Example

printf("Time is %d\n", time(0));


Go to the first, previous, next, last section, table of contents.