From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: How to Calculate duration time in Table ? Date: Tue, 21 Jul 2009 18:49:49 -0400 Message-ID: <13300.1248216589@alphaville.usa.hp.com> References: <5236d6f90907211206y20951c9dtc711cf71afc520e2@mail.gmail.com> <10926.1248205548@alphaville.usa.hp.com> <874ot54t0h.fsf@bzg.ath.cx> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MTOAm-0001ZT-Aa for emacs-orgmode@gnu.org; Tue, 21 Jul 2009 18:51:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MTOAh-0001Z3-RO for emacs-orgmode@gnu.org; Tue, 21 Jul 2009 18:51:00 -0400 Received: from [199.232.76.173] (port=42983 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTOAh-0001Z0-M4 for emacs-orgmode@gnu.org; Tue, 21 Jul 2009 18:50:55 -0400 Received: from g4t0015.houston.hp.com ([15.201.24.18]:30999) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MTOAh-0006tj-AX for emacs-orgmode@gnu.org; Tue, 21 Jul 2009 18:50:55 -0400 In-Reply-To: Message from Bastien of "Tue, 21 Jul 2009 23:37:34 +0200." <874ot54t0h.fsf@bzg.ath.cx> 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: Bastien Cc: emacs-orgmode 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. Would it work better if I had quoted the above (e.g. boxquote or the gnus message method)? Thanks, Nick