emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jude DaShiell <jdashiel@panix.com>
To: emacs-orgmode@gnu.org
Subject: duration beyond 24 hours
Date: Tue, 8 Oct 2024 13:46:30 -0400	[thread overview]
Message-ID: <99d1e3e7-1af9-2d0c-5fc6-7dc08500a656@panix.com> (raw)

Logging I'm doing often requires intervals to be logged with durations
beyond 24 hours. What I do for this is to start with 24 hours on the
abacus.  Then I subtract hours of first date from the 24.  Next if minutes
are greater than 0 in original time I add 60 to minutes and subtract
another hour from hours then subtract minutes from the 60 minutes.  Then I
add the hours in the next date to hours on abacus if less than 24 I add
minutes to minutes on abacus.  If only 24 hours that's all that needs to
be done.  This two part procedure continues through the last day in the
interval.  Then I check minutes and if greater than 29 I add 1 to hours
and zero out minutes.  That's the amount of hours I write in my log for
the interval.  This is going on braille paper and that's good since the
logs survived the death of my computer tower that had to be taken to the
recycler.  The log I'm doing tracks bowel changes andthe log now has 30
months of data in it.

-- 
 Jude <jdashiel at panix dot com>
 "There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo.
 Please use in that order."
 Ed Howdershelt 1940.


             reply	other threads:[~2024-10-08 18:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-08 17:46 Jude DaShiell [this message]
2024-10-12 18:41 ` duration beyond 24 hours Ihor Radchenko

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=99d1e3e7-1af9-2d0c-5fc6-7dc08500a656@panix.com \
    --to=jdashiel@panix.com \
    --cc=emacs-orgmode@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 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).