The header file <tim.h> definitions of functions to get and manipulate date and time information.
| Types | |
| clock_t | Clock type - a C long type |
| time_t | Time type |
| struct tm | Time structure |
| Functions | |
| asctime and asctime_r | Convert a struct tm to a string |
| ctime and ctime_r | Convert a time_t to a string |
| difftime | Calculates the difference between two times |
| gmtime and gmtime_r | Convert a time_t to a struct tm |
| localtime and localtime_r | Convert a time_t to a struct tm |
| mktime | Convert a struct tm to time_t |
| strftime | Format a struct tm to a string |