[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org table calc and lisp for hh:mm timetable
From: |
Bastien |
Subject: |
Re: [O] org table calc and lisp for hh:mm timetable |
Date: |
Sat, 02 Jul 2011 13:38:30 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Hi all,
Carsten Dominik <address@hidden> writes:
> How about introducing another flag for the formula to turn
> on time string processing like this?
I've implemented this.
You can now use the "T" flag to compute durations:
| Task 1 | Task 2 | Total |
|--------+--------+---------|
| 35:00 | 35:00 | 1:10:00 |
#+TBLFM: @2$3=$1+$2;T
The "T" flag works also for Elisp formulas.
| Task 1 | Task 2 | Total |
|--------+--------+---------|
| 35:00 | 35:00 | 1:10:00 |
#+TBLFM: @2$3='(+ $1 $2);T
Time values must be of the form [HH:]MM:SS.
Thanks to everyone for ideas about this! Of course, timestamp
manipulation is what comes next. But please test this and report
any problem.
Best,
--
Bastien
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [O] org table calc and lisp for hh:mm timetable,
Bastien <=