From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: date stamp Date: Thu, 22 Feb 2007 14:10:32 +0100 Message-ID: <278a80aa683e25af65d8cda820a7be84@science.uva.nl> References: <87bqjmqt66.fsf@gmail.com> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HKDiT-0004Zm-ER for emacs-orgmode@gnu.org; Thu, 22 Feb 2007 08:10:33 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HKDiR-0004XH-Ue for emacs-orgmode@gnu.org; Thu, 22 Feb 2007 08:10:33 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HKDiR-0004X8-Q1 for emacs-orgmode@gnu.org; Thu, 22 Feb 2007 08:10:31 -0500 Received: from korteweg.uva.nl ([146.50.98.70]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HKDiR-00038g-CQ for emacs-orgmode@gnu.org; Thu, 22 Feb 2007 08:10:31 -0500 In-Reply-To: <87bqjmqt66.fsf@gmail.com> 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: Sean Sieger Cc: emacs-orgmode@gnu.org This is operating system dependent. It depends on what kind of integer the OS uses to represent time. I believe if it is an unsigned integer, the minimum date is Jan 1, 1970. If it is a signed integer, it goes back to 1901 or so. Max date in both cases is somewhere 2038. This will all go away only with 64 bit systems. Why do you need such a date? Most likely a birthday? You can use the Emacs diary to set such birthdays - the calendar/diary can handle this. - Carsten On Feb 22, 2007, at 13:21, Sean Sieger wrote: > When I do `C-c .' and then `1969-03-25' I get: > > Debugger entered--Lisp error: (error "Specified time is not > representable") > encode-time(0 11 7 25 3 1969) > org-read-date(nil totime) > org-time-stamp(nil) > call-interactively(org-time-stamp) > > on Ubuntu 6.10/Emacs 23.0.0.1 > > > > _______________________________________________ > Emacs-orgmode mailing list > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477