Go to the first, previous, next, last section, table of contents.


localtime

Syntax

#include <time.h>

struct tm *localtime(const time_t *tod);

Description

Converts the time represented by tod into a structure, correcting for the local timezone. See section gmtime.

Return Value

A pointer to a static structure which is overwritten with each call.

Portability

ANSI, POSIX


Go to the first, previous, next, last section, table of contents.