Time2posix 3
Time2posix 3
NAME
time2posix, posix2time - convert seconds since the Epoch
SYNOPSIS
#include <time.h>
cc ... -ltz
DESCRIPTION
IEEE Standard 1003.1 (POSIX) requires the time_t value 536457599 to
stand for 1986-12-31 23:59:59 UTC. This effectively implies that POSIX
time_t values cannot include leap seconds and, therefore, that the
system time must be adjusted as each leap occurs.
SEE ALSO
difftime(3), localtime(3), mktime(3), time(2)