time.h
Standard C library with time and date related functions
Libraries reference
cplusplus.com  

Functions:

asctimeConvert tm structure to string
clockReturn number of clock ticks since process start
ctimeConvert time_t value to string
difftimeReturn difference between two times
gmtimeConvert time_t value to tm structure as UTC time
localtimeConvert time_t value to tm structure as local time
mktimeConvert tm structure to time_t value
timeGet current time

 

Types and constants:

CLK_TCK
Constant that defines the number of clock ticks per second. Used by clock function.
clock_t and time_t
Data types returned by clock and time functions respectivelly. They are generally defined as long int.
tm
Structure returned or used by asctime, gmtime, localtime and mktime. See tm structure definition.


© The C++ Resources Network, 2000