[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Time not representable
From: |
Andreas Schwab |
Subject: |
Re: Time not representable |
Date: |
Fri, 11 Mar 2011 14:19:43 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Carsten Dominik <address@hidden> writes:
> Another data point is that on a different system, Bastien has found
> that he can get times before 1970 represented, but not after 2038.
> So apparently his system is using something else to represent time.
If your system's time_t is a signed 32-bit integer then your system is
able to represent times between 1901-12-13 20:45:53 UTC and 2038-01-19
03:14:07 UTC. If your system's time_t is an unsigned 32-bit integer
your system can represent times between 1970-01-01 00:00:00 UTC and
2106-02-07 06:28:15 UTC.
Andreas.
--
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."