This function is a wrapper around the strftime (3) function, which converts the %l and %k (12h and 24h) format variables if necessary.
string |
The string array to store the result in. |
max |
The size of array |
fmt |
The formatting to use on |
tm |
The time value to format. |
The number of characters placed in |