localtime - convert a time value to a broken-down local time
#include "zkTime.h"
struct tm *localtime(const time_t *timer);
The localtime() function converts the calendar time pointed to by timer into a broken-down time, expressed as a local time. The function corrects for the timezone and any seasonal time adjustments.
The localtime() interface need not be reentrant.
The localtime() function returns a pointer to the broken-down time structure.
No errors are defined.
The asctime(), ctime(), gmtime() and localtime() functions return values in one of two static objects: a broken-down time structure and an array of char. Execution of any of the functions may overwrite the information returned in either of these objects by any of the other functions.