emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] dates before 1970


From: Carsten Dominik
Subject: Re: [O] dates before 1970
Date: Fri, 11 Mar 2011 16:28:29 +0100

Hi,

I asked in emacs-develop and got:

> by Andreas Schwabon 2011-03-11T13:19:43+00:00.
> 
> 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.

So I am not sure what 64 bit systems do now or in the future, but
it seems that we need to live with a restriction for now.
Maybe this should be documented somewhere.

- Carsten


On Mar 11, 2011, at 1:00 PM, Eric S Fraga wrote:

> Carsten Dominik <address@hidden> writes:
> 
> [...]
> 
>> THis is exactly the point, that it depends on how Emacs was compiled,
>> and what kind of integer is used in the date representation.  Signed
>> or unsigend, 32 or 64 bits (I think).
> 
> Yes, that makes sense.
> 
>> For example, Bastien can represent dates before 1970. I cannot.
>> I can represent dates after 2038, Bastien cannot.
> 
> I can do before 1970 but not after 2038.  Interesting.
> -- 
> : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
> : using Org-mode version 7.5 (release_7.5.27.gefa56)

- Carsten






reply via email to

[Prev in Thread] Current Thread [Next in Thread]