|
32 bit time_t values have a max: Mon Jan 18 20:14:07 2038
The result above comes from epoch seconds = 2147483647.
This is largest positive value a 32 bit signed integer supports. If you add one to that value and then display it as a date/time value you get the earliest date your system supports.
There was a thread with code on this yesterday - search for it.
|