User Tools

Site Tools


Programming Reference/Librarys

Question & Answer

Q&A is closed


Time Manipulation Functions

clock Clock program
difftime return difference between two times
mktime Convert tm structure to time_t
time Get current time

Conversion Functions

asctime Convert tm structure to string
ctime Convert time_t value to string
gmtime Convert time_t to tm as UTC time
localtime Convert time_t to tm as local time
strftime Format time as string

Macro Constants (macros)

CLOCKS_PER_SECClock ticks per second
NULL Null pointer


clock_t Clock type
size_t Unsigned integral type
time_t Time type
struct tm Time structure
cpp/ctime.txt · Last modified: 2013/03/06 21:27 by Nicholas Johnson

Impressum Datenschutz