From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Chris Randle" Subject: RE: Problem with date calculations in a table Date: Fri, 15 Aug 2008 10:24:39 +0100 Message-ID: <76D4727F59354728AA93049264DCF1F7@CUBE> References: <17380.1218757692@alphaville.usa.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KTvYu-0002ct-MQ for emacs-orgmode@gnu.org; Fri, 15 Aug 2008 05:25:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KTvYs-0002aP-02 for emacs-orgmode@gnu.org; Fri, 15 Aug 2008 05:25:35 -0400 Received: from [199.232.76.173] (port=52933 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTvYr-0002aE-Pj for emacs-orgmode@gnu.org; Fri, 15 Aug 2008 05:25:33 -0400 Received: from anchor-post-34.mail.demon.net ([194.217.242.92]:2380) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KTvYr-0007Be-D1 for emacs-orgmode@gnu.org; Fri, 15 Aug 2008 05:25:33 -0400 Received: from amlog.demon.co.uk ([80.177.106.135] helo=CUBE) by anchor-post-34.mail.demon.net with esmtp (Exim 4.67) id 1KTvYS-000GvF-Ek for emacs-orgmode@gnu.org; Fri, 15 Aug 2008 09:25:09 +0000 In-Reply-To: <17380.1218757692@alphaville.usa.hp.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: emacs-orgmode@gnu.org Nick Dokos wrote: > I've been trying to make a table with the following structure: column > 1 contains either a date or is empty; column 2 contains a date that's > calculated from the corresponding date in column 1 (if column 1 > contains a date) or is empty (if column 1 is empty). In the example > below, column 2 is supposed to be the date 12 hours or 0.5 days after > the date in column 1 (assuming that it is non-empty). I had problems getting date arithmetic to work in tables. I posted my findings and solutions here: http://article.gmane.org/gmane.emacs.orgmode/6536/ Don't know if it will fix your problem (too lazy to try!) but I suspect it will. -- Chris Randle Org-mode 6.06b - Emacs 22.1.1 - Windows XP