Standard C library with time and date related functions
Libraries reference


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:

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.
Structure returned or used by asctime, gmtime, localtime and mktime. See tm structure definition.

© The C++ Resources Network, 2000