From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: How to Calculate duration time in Table ? Date: Wed, 22 Jul 2009 01:47:30 +0200 Message-ID: <87prbt38fh.fsf@bzg.ath.cx> References: <5236d6f90907211206y20951c9dtc711cf71afc520e2@mail.gmail.com> <10926.1248205548@alphaville.usa.hp.com> <874ot54t0h.fsf@bzg.ath.cx> <13300.1248216589@alphaville.usa.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MTP3f-0003FO-Hi for emacs-orgmode@gnu.org; Tue, 21 Jul 2009 19:47:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MTP3b-0003DM-Ty for emacs-orgmode@gnu.org; Tue, 21 Jul 2009 19:47:43 -0400 Received: from [199.232.76.173] (port=48398 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTP3b-0003DH-PN for emacs-orgmode@gnu.org; Tue, 21 Jul 2009 19:47:39 -0400 Received: from mail-px0-f193.google.com ([209.85.216.193]:49117) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MTP3b-0007JH-Cz for emacs-orgmode@gnu.org; Tue, 21 Jul 2009 19:47:39 -0400 Received: by pxi31 with SMTP id 31so2345323pxi.14 for ; Tue, 21 Jul 2009 16:47:37 -0700 (PDT) In-Reply-To: <13300.1248216589@alphaville.usa.hp.com> (Nick Dokos's message of "Tue, 21 Jul 2009 18:49:49 -0400") 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: nicholas.dokos@hp.com Cc: emacs-orgmode Nick Dokos writes: > Bastien wrote: > >> Nick Dokos writes: >> >> > Try the following: >> > >> > | Start Date | End Date | Duration | >> > |------------+------------+----------| >> > | 2004.08.07 | 2005.07.08 | 335 | >> > #+TBLFM: $3=(date(<$2>)-date(<$1>)) >> >> Nice, I added a note in Worg/org-hacks.org. >> > > Thanks for doing that. The only problem is that the TBLFM line has been > stripped, so it's not clear *what* the solution is, unless one follows > the link to the message. Opps, fixed! Thanks for checking. > Would it work better if I had quoted the above (e.g. boxquote or the > gnus message method)? No no, I just need more sleep :) -- Bastien