NAME

localtime - convert a time value to a broken-down local time

SYNOPSIS

#include "zkTime.h"

struct tm *localtime(const time_t *timer);

DESCRIPTION

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.

RETURN VALUE

The localtime() function returns a pointer to the broken-down time structure.

ERRORS

No errors are defined.

APPLICATION USAGE

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.