time.h is a C language header, supplying date and time utility types and functions; it is also available in C++, as either time.h or ctime.
time.h
is a C language header, supplying date and time utility types and functions; it is also available in C++, as either time.h
or ctime
(with the latter being preferred). It supplies types tm
, time_t
, clock_t
, and timespec
(as of C11), constant CLOCKS_PER_SEC
, and functions such as clock()
, time()
, mktime()
, and so on.