help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Add or subtract times in an org-table


From: Bastien
Subject: Re: Add or subtract times in an org-table
Date: Tue, 12 Feb 2013 09:54:43 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)

Hi Bastian,

Bastian Bechtold <emacs@bastibe.de> writes:

> The thing is, I do all this by hand because I can't figure out how to
> add or subtract times in emacs.

See the formula at the bottom of this table:

| week |     time | quota |  diff | overtime | comments               |
|------+----------+-------+-------+----------+------------------------|
| W01  |    11:45 | 12:00 | -0:15 |    -0:15 |                        |
| W02  |    14:30 | 12:00 |  1:30 |     1:15 |                        |
| W03  |     9:00 |  9:36 | -0:36 |     0:39 | sick on friday (-2:24) |
|------+----------+-------+-------+----------+------------------------|
|      | 35:15:00 |       |       |          |                        |
#+TBLFM: @5$2=vsum(@2..@4);T

You can check this info node:

  (info "(org)Durations and time values")

> Could any of you emacs wizards help me with that? Any hints would be
> appreciated!

HTH,

-- 
 Bastien



reply via email to

[Prev in Thread] Current Thread [Next in Thread]