0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-29 20:37:51 +00:00

org.texi: small update on durations computation.

This commit is contained in:
Bastien Guerry 2011-07-24 18:44:23 +02:00
parent ecd2a41ecc
commit ef670abc49

View file

@ -2573,14 +2573,17 @@ formulas or Elisp formulas:
@example
@group
| Task 1 | Task 2 | Total |
|--------+--------+---------|
| 35:00 | 35:00 | 1:10:00 |
#+TBLFM: @@2$3=$1+$2;T
| Task 1 | Task 2 | Total |
|---------+----------+----------|
| 2:12 | 1:47 | 03:59:00 |
| 3:02:20 | -2:07:00 | 00:55:20 |
#+TBLFM: $3=$1+$2;T
@end group
@end example
Values must be of the form @code{[HH:]MM:SS}, where hours are optional.
Values must be of the form @code{[HH:MM[:SS]}, where seconds are optional.
The resulting duration will always be displayed as @code{[HH:MM:SS}. Note
that negative values can be manipulated as well.
@node Field and range formulas, Column formulas, Durations and time values, The spreadsheet
@subsection Field and range formulas