It's worth saying a few words about
the range of dates that can be represented as time_t's.
A very common time_t representation
(based on Unix and Posix)
is the number of seconds since
midnight (GMT), January 1, 1970.
If time_t is a 32-bit integer,
the range is therefore
from 1970
until at least January 18, 2038,
plus perhaps another 68 years before 1970 or after 2038
depending on whether time_t is signed or unsigned.
If time_t is a 64-bit integer,
the range is nearly infinite.
However,
time_t is not required to be represented
as the number of seconds since 1970;
some systems
use different epoch values,
or may use different representations entirely.
back
about this FAQ list
about eskimo
search
feedback
copyright
Hosted by