From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: dates before 1970 Date: Fri, 11 Mar 2011 16:28:29 +0100 Message-ID: <52DFBD89-0FCB-4546-85F1-254370ADE4E0@gmail.com> References: <87ei6en127.fsf@ucl.ac.uk> <5422.1299798393@alphaville.usa.hp.com> <87ei6ehwld.fsf@ucl.ac.uk> <877hc5eujx.fsf@pinto.chemeng.ucl.ac.uk> Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=53050 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Py4Ga-0004rN-VR for emacs-orgmode@gnu.org; Fri, 11 Mar 2011 10:28:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Py4GY-0002te-IM for emacs-orgmode@gnu.org; Fri, 11 Mar 2011 10:28:36 -0500 Received: from mail-ew0-f41.google.com ([209.85.215.41]:40820) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Py4GY-0002tM-Du for emacs-orgmode@gnu.org; Fri, 11 Mar 2011 10:28:34 -0500 Received: by ewy9 with SMTP id 9so1005594ewy.0 for ; Fri, 11 Mar 2011 07:28:32 -0800 (PST) In-Reply-To: <877hc5eujx.fsf@pinto.chemeng.ucl.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric S Fraga Cc: nicholas.dokos@hp.com, Emacs Org mode mailing list 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 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