emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: Loris Bennett <loris.bennett@fu-berlin.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Clocking working hours with multiple breaks
Date: Sat, 04 Jan 2025 18:43:26 +0000	[thread overview]
Message-ID: <8734hyqv1t.fsf@localhost> (raw)
In-Reply-To: <87jzbcyx8w.fsf@zedat.fu-berlin.de>

"Loris Bennett" <loris.bennett@fu-berlin.de> writes:

> I have been using Orgmode for several years to record my working hours
> and calculate how much overtime I have accrued.  The mechanism is rather
> rudimentary, in that I clock in and out of 'work' to record start and
> end times each day and then copy these times into a separate table, in
> which the time worked is calculated and the difference to the nominal
> number of hours I have to work each day.  The differences are then
> summed over each month
> ...
> Does any one have any suggestions for this?  I was wondering to what
> degree a clocktable could used for this, because it is unclear to me how
> I would integrate the calculation of the overtime.

I believe that you can try using clocktable + :formula parameter to
inject custom spreadsheet calculation into the resulting table.
See 8.4.2 The clock table section of the manual and sections on
spreadsheet functionality.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


      parent reply	other threads:[~2025-01-04 18:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-03 11:04 Clocking working hours with multiple breaks Loris Bennett
2025-01-03 16:23 ` Colin Baxter
2025-01-04 18:43 ` Ihor Radchenko [this message]

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=8734hyqv1t.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=loris.bennett@fu-berlin.de \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).