From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jos=E9_A=2E_Romero_L=2E?= Newsgroups: gmane.emacs.help Subject: Re: how do you compute date difference in emacs? Date: Sat, 17 Apr 2010 02:13:30 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <1acb4c85-70bd-4f58-bbb1-b13370eca4c2@c21g2000yqk.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1273008724 17508 80.91.229.12 (4 May 2010 21:32:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 May 2010 21:32:04 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 04 23:32:02 2010 connect(): No such file or directory Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O9Pih-0007sn-Ac for geh-help-gnu-emacs@m.gmane.org; Tue, 04 May 2010 23:31:59 +0200 Original-Received: from localhost ([127.0.0.1]:48375 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9Pig-0004jl-OV for geh-help-gnu-emacs@m.gmane.org; Tue, 04 May 2010 17:31:58 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!5g2000yqj.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs Original-Lines: 22 Original-NNTP-Posting-Host: 89.78.68.41 Original-X-Trace: posting.google.com 1271495610 9163 127.0.0.1 (17 Apr 2010 09:13:30 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 17 Apr 2010 09:13:30 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 5g2000yqj.googlegroups.com; posting-host=89.78.68.41; posting-account=mkEKGAoAAACAV2vhv5r9WHXWqsdL_niD User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:177743 comp.emacs:99751 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:73189 Archived-At: On 17 Kwi, 09:38, Xah Lee wrote: (...) > > > this code results in "1999-05-30". > > > In 23.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.18.3) of 2010-03-16 on > > crested, modified by Debian; the code above results in an error, > > because the seconds are required in the argument to date-to-time. > > good info. (...) Indeed, good to know. Looks like the Emacs team has been working on that lately -- in 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.18.3) of 2010-03-22 it seems to work OK, yielding "2009-09-13" as result. Cheers, -- Jos=E9 A. Romero L. escherdragon at gmail "We who cut mere stones must always be envisioning cathedrals." (Quarry worker's creed)