cppreference.com > Standard C Date & Time
Standard C Date & Time

Display all entries for Standard C Date & Time on one page, or view entries individually:

asctimea textual version of the time
clockreturns the amount of time that the program has been running
ctimereturns a specifically formatted version of the time
difftimethe difference between two times
gmtimereturns a pointer to the current Greenwich Mean Time
localtimereturns a pointer to the current time
mktimereturns the calendar version of a given time
setlocalesets the current locale
strftimereturns individual elements of the date and time
timereturns the current calendar time of the system