From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xin Shi Subject: Re: How to Calculate duration time in Table ? Date: Tue, 21 Jul 2009 23:32:10 -0400 Message-ID: <5236d6f90907212032k11cc8847l632f16d91baba906@mail.gmail.com> References: <5236d6f90907211206y20951c9dtc711cf71afc520e2@mail.gmail.com> <10926.1248205548@alphaville.usa.hp.com> <874ot54t0h.fsf@bzg.ath.cx> <13300.1248216589@alphaville.usa.hp.com> <87prbt38fh.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1924413842==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MTSZ0-0006lM-2e for emacs-orgmode@gnu.org; Tue, 21 Jul 2009 23:32:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MTSYv-0006gs-OD for emacs-orgmode@gnu.org; Tue, 21 Jul 2009 23:32:17 -0400 Received: from [199.232.76.173] (port=48572 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTSYv-0006gl-Ar for emacs-orgmode@gnu.org; Tue, 21 Jul 2009 23:32:13 -0400 Received: from mail-fx0-f223.google.com ([209.85.220.223]:40643) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MTSYu-0003nh-Rc for emacs-orgmode@gnu.org; Tue, 21 Jul 2009 23:32:13 -0400 Received: by fxm23 with SMTP id 23so1109577fxm.42 for ; Tue, 21 Jul 2009 20:32:11 -0700 (PDT) In-Reply-To: <87prbt38fh.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 --===============1924413842== Content-Type: multipart/alternative; boundary=00163641688f3392f7046f4304dd --00163641688f3392f7046f4304dd Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cool! thanks for all :) Xin On Tue, Jul 21, 2009 at 7:47 PM, Bastien wrote: > 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 > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > --00163641688f3392f7046f4304dd Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cool! thanks for all :)

Xin


On= Tue, Jul 21, 2009 at 7:47 PM, Bastien <bastienguerry@googlemail.com> wrote:
Nick Dokos <nicholas.dokos@hp.= com> writes:

> Bastien <bastiengue= rry@googlemail.com> wrote:
>
>> Nick Dokos <nicholas.d= okos@hp.com> writes:
>>
>> > Try the following:
>> >
>> > | Start Date | =A0 End Date | Duration |
>> > |------------+------------+----------|
>> > | 2004.08.07 | 2005.07.08 | =A0 =A0 =A0335 |
>> > #+TBLFM: $3=3D(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 bee= n
> stripped, so it's not clear *what* the solution is, unless one fol= lows
> the link to the message.

Opps, fixed! =A0Thanks 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 :)

--
=A0Bastien


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

--00163641688f3392f7046f4304dd-- --===============1924413842== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1924413842==--