| Function | Header File | Description |
| asctime | time.h | Converts time stored as a structure to a character string in storage. |
| clock | time.h | Determines processor time. |
| ctime | time.h | Converts time stored as a time_t value to a character string. |
| difftime | time.h | Calculates the difference between two times. |
| _ftime | sys\timeb.h | Obtains the current time and stores it in a structure. |
| gmtime | time.h | Converts time to Universal Coordinate Time. |
| localtime | time.h | Converts time to local time. |
| mktime | time.h | Converts local time into calendar time. |
| _strdate | time.h | Stores the current date in a buffer. |
| strfmon | monetary.h | Converts a monetary value to a formatted string. |
| strftime | time.h | Converts time to a character string. |
| strptime | time.h | Converts time stored as a character string to a structure. |
| _strtime | time.h | Copies the current time into a buffer. |
| time | time.h | Returns the time in seconds. |
| tzset | time.h | Changes the time zone and daylight saving time zone values. |
| utime | sys\utime.h | Sets the modification time for a file. |
| wcsftime | wchar.h | Converts the time and date to a wide character string. |
![]()
Alphabetical Listing of IBM C and C++
Compilers Functions and Macros