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