time()

Syntax:

#include <time.h>
time_t time( time_t *time );



Description:
The function time() returns the current time, or -1 if there is an error. If the argument time is given, then the current time is stored in time.

Related Topics:
localtime(), gmtime(), strftime(), ctime()

Vadim avatar

Vadim