##### Synopsis

    #include <time.h>
    struct tm *localtime(const time_t *tp);
    struct tm *localtime_r(const time_t *tp, struct tm *result);

##### Description

localtime converts the *tp time format to a struct tm local time format. The returned value points to a static object - this function is not re-entrant.

localtime_r is a re-entrant version of localtime, the returned value points to the object *result.

##### See also

struct tm