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: Bastian Bechtold
Subject: Re: Add or subtract times in an org-table
Date: Tue, 12 Feb 2013 10:52:06 +0100
User-agent: mu4e 0.9.9; emacs 24.2.1

Hi Bastien,

thank you very much for that answer! It pointed me in the perfect
direction and allowed me to solve my problem.

For the record, my solution is

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

Which calculates the correct results, albeit with some useless ':00'
seconds appended to every calculation.

Still, this solves my problem.

Thank you very much,
Bastian



reply via email to

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