emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Richard Lawrence <richard.lawrence@berkeley.edu>
To: Jarmo Hurri <jarmo.hurri@iki.fi>, emacs-orgmode@gnu.org
Subject: Re: Add time (duration) to timestamp
Date: Mon, 07 Dec 2015 09:56:26 -0800	[thread overview]
Message-ID: <877fkquoqd.fsf@berkeley.edu> (raw)
In-Reply-To: <87poyik4dv.fsf@iki.fi>

Hi Jarmo,

Jarmo Hurri <jarmo.hurri@iki.fi> writes:

> Answering my own question, the following seems to work (15 min is 1/96
> of a day):
>
> | time                   | event |
> |------------------------+-------|
> | <2015-12-07 Mon 12:00> | A     |
> | <2015-12-07 Mon 12:15> | B     |
> | <2015-12-07 Mon 12:30> | C     |
> #+TBLFM: @3$1..@4$1=(<@-1>+(1.0 / 96))

Have you looked at Org's clocking features? (See "Clocking work time" in
the Dates and Times section of the manual.)

Clocking timestamps go into a drawer, rather than a table, but you can
generate a clock report table.  Depending on what you're trying to do,
that might be a cleaner and more flexible solution.

Best,
Richard

      reply	other threads:[~2015-12-07 17:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-07  8:15 Add time (duration) to timestamp Jarmo Hurri
2015-12-07  9:13 ` Jarmo Hurri
2015-12-07 17:56   ` Richard Lawrence [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=877fkquoqd.fsf@berkeley.edu \
    --to=richard.lawrence@berkeley.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=jarmo.hurri@iki.fi \
    /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).