Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

C++ Programming/Code/Standard C Library/Functions/time

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

time #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. Related topics asctime - clock - ctime - difftime - gmtime - localtime - mktime - strftime(Other Standard C functions) srand - the preprocessor macros __DATE__ and __TIME__