From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 2JDbFdiAeWdrEAEAqHPOHw:P1 (envelope-from ) for ; Sat, 04 Jan 2025 18:41:28 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 2JDbFdiAeWdrEAEAqHPOHw (envelope-from ) for ; Sat, 04 Jan 2025 19:41:28 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=BnjLg7qa; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1736016088; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=1jNwnMv4ya5QrU7Y77yfK1in0F1bTKkqcBsmJcs3Des=; b=X8gQ0nt4p/GaCFU4bev3txz/xm+FNqX8ov19AeCuyZRP2IReUh4T/jKVPgVltZa7fOcSmM 99XRphNTpOLvQREnmEso9M9X4vxwY3j9FECPE1R/sG7rlT2wXQiqHZefrhfra4JP6ZAV2b xYWinAPM/cUFYTXqSekFaPDRLpNaOw6ZAfcXH4jggDaoa4ZMm3SrDjWrd5B84rTscwV7fR rG+e03E/qX5gwaet27VO64DHqXlXvh2ClTFRVNzhWL20caTNa9oK1ctDvSedeiV3r6jP0T cZmuzApBgR/AzTdFxw1/Itb6pTH1NcOEoZXEw+8qtFA50amWDHo2Pg1jY65LrQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=BnjLg7qa; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1736016088; a=rsa-sha256; cv=none; b=XUHJPn4Tlvq0FHt0rpnGMrnPjkiLxQwWhHky/w09XunvwoODHYFwilCTLfavL56xbZ+k7t s6eU6ARjT7yu04UcqFGV2/xPY9tcUtzVrVKBtoW65dmKdDHd6ivQodrOqDjU2IjST6ceuY RdjmT7wrFqJzEsrhBTKgb+f+XNjqWnWxRfRvMro+7hCFxzUZBdm/XP3KHYevDAFKir2JjO wFyfhqb6NINlDS48r9lltQWROAFj08V9CYmVKx53BEzjqZTSp+2IIeXlvxLptmbIfx53S/ huXA7yu7f6vifm+2BmdfRHlnD9fLbpL3aD7JPA4YpTtB2gip1xiFsZzvbUn9dg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 241CB456FD for ; Sat, 04 Jan 2025 19:41:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tU95G-0000pd-0y; Sat, 04 Jan 2025 13:41:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tU95C-0000or-9k for emacs-orgmode@gnu.org; Sat, 04 Jan 2025 13:41:10 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tU95A-0004kJ-LS for emacs-orgmode@gnu.org; Sat, 04 Jan 2025 13:41:10 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 32FF2240027 for ; Sat, 4 Jan 2025 19:41:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1736016067; bh=hWLnZ/r33ENVgDIvBIXihN5rNb+/SAtYtIxvL36ZFDE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=BnjLg7qaViEcv3/dSr0n4AhpqlpRT/7iPIeaPwK/9WSOqKgxEExoqhMzmv06nXWbP pl8gz2640ScDzElgVKDVP8kA60puWOLZIqjUXv6WDlT4e5yUf/uxu1HZcQNfGy60RD qZPDgNhs9BBDTviUk3v3yStBR55aPp6K+R6srbpwv0R077GxSuCQCLGxW/B4LqP2wl Cl5HMet4ID8YCHXEaw8q0g984pOYYlMn/ss4IVo9FWTI5J8g78ucWyyb9hLbsl8LT2 jhP2+GXkBRezE6/Kq3mndZ5yTlt1vtob/RNRFIWCa3DOwtcdn2RdJJu71sPPhWMaE4 bOr/4qTuaAPaA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YQTmL4TmBz9rxG; Sat, 4 Jan 2025 19:41:06 +0100 (CET) From: Ihor Radchenko To: Loris Bennett Cc: emacs-orgmode@gnu.org Subject: Re: Clocking working hours with multiple breaks In-Reply-To: <87jzbcyx8w.fsf@zedat.fu-berlin.de> References: <87jzbcyx8w.fsf@zedat.fu-berlin.de> Date: Sat, 04 Jan 2025 18:43:26 +0000 Message-ID: <8734hyqv1t.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 241CB456FD X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -3.88 X-Spam-Score: -3.88 X-TUID: pSeo6Q15BeVC "Loris Bennett" 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 . Support Org development at , or support my work at