all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bastian Bechtold <emacs@bastibe.de>
To: help-gnu-emacs@gnu.org
Subject: Add or subtract times in an org-table
Date: Tue, 12 Feb 2013 09:30:21 +0100	[thread overview]
Message-ID: <m2liaurl2a.fsf@bastibe.de> (raw)

Hi,

I am an enthusiastic user of org-mode for organizing my work and
clocking my work time.

At the end of each week, I use org-agenda to view a summary of what I
worked on that week and how long I worked per project and in total. This
is great!

Then, I put this into an org-table that sums up the time I worked
against my quota like this:

| 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) |

Where the second column is the time I actually worked, the third column
is the time I should have worked, the fourth column is the difference
between the second and the third (i.e. overtime), and the fifth column
sums up the overtime over time.

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

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

Kind regards,
Bastian



             reply	other threads:[~2013-02-12  8:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-12  8:30 Bastian Bechtold [this message]
2013-02-12  8:54 ` Add or subtract times in an org-table Bastien
2013-02-12  9:52   ` Bastian Bechtold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2liaurl2a.fsf@bastibe.de \
    --to=emacs@bastibe.de \
    --cc=bastian.bechtold@uni-oldenburg.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.