< C++ Programming < Code < Standard C Library < Functions
time
Syntax |
#include <ctime>
time_t time( time_t *time );
|
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.
This article is issued from
Wikibooks.
The text is licensed under Creative
Commons - Attribution - Sharealike.
Additional terms may apply for the media files.