The localtime function

Name

localtime -- 

Synopsis

#include <time.h>

struct tm *localtime (const time *timer);

Description

The localtime function converts the calendar time pointed to by timer into a broken-down time expressed as local time.

Returns

The localtime function returns a pointer to that object.