emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Collectable results in minutes instead of HH:MM
@ 2016-01-13 16:54 Axel Kielhorn
  0 siblings, 0 replies; 2+ messages in thread
From: Axel Kielhorn @ 2016-01-13 16:54 UTC (permalink / raw)
  To: Org-Mode Mailing List

Hi,

I use org mode to clock the time I spend on different tasks.

Starting this year my company switched to account working time by the minute instead of using a quarter of an hour.
Getting the exact time is no problem but right now I have to translate the HH:MM time into minutes since that is what the accounting software needs.

When I use 
org-time-clocksum-use-fractional
I can use a TBLFM and the result is almost right, but has rounding errors.
(Increasing the rational part to 3 digits will probably help with the rounding errors.)

Without it I get the HH:MM
and simply multiplying the result by 60 does not work.

I prefer the HH:MM format and am looking for a way to convert that.

Can anyone help?

Axel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Collectable results in minutes instead of HH:MM
@ 2016-01-13 16:59 Axel Kielhorn
  0 siblings, 0 replies; 2+ messages in thread
From: Axel Kielhorn @ 2016-01-13 16:59 UTC (permalink / raw)
  To: Org-Mode Mailing List

[-- Attachment #1: Type: text/plain, Size: 153 bytes --]

Sorry,

I have to apologize for

a) Auto correct messing with the subject line, it should have been clocktable.
b) Not including the ECM

Axel


[-- Attachment #2: clocktable.org --]
[-- Type: application/octet-stream, Size: 1268 bytes --]

* Main task

** Subtask 1
:CLOCK:
CLOCK: [2016-01-13 Wed 16:00]--[2016-01-13 Wed 17:05] =>  1:05
:END:

** Subtask 2

:CLOCK:
CLOCK: [2016-01-13 Wed 13:50]--[2016-01-13 Wed 16:00] =>  2:10
:END:
** Subtask 3


:CLOCK:
CLOCK: [2016-01-13 Wed 10:00]--[2016-01-13 Wed 13:05] =>  3:05
:END:

** Worktime


#+BEGIN: clocktable :maxlevel 2 :scope tree
#+CAPTION: Erstellt am [2016-01-13 Wed 17:47]
| Tätigkeit     | Zeit   |      |    |
|---------------+--------+------+----|
| *Gesamtzeit*  | *6:20* |      |    |
|---------------+--------+------+----|
| Main task     | 6:20   |      |    |
| \_  Subtask 1 |        | 1:05 | 12 |
| \_  Subtask 2 |        | 2:10 |    |
| \_  Subtask 3 |        | 3:05 |    |
#+TBLFM: @4$4=$3 * 60
#+END:

org-time-clocksum-use-fractional

#+BEGIN: clocktable :maxlevel 2 :scope tree
#+CAPTION: Erstellt am [2016-01-13 Wed 17:44]
| Tätigkeit     | Zeit   |      |      |
|---------------+--------+------+------|
| *Gesamtzeit*  | *6.33* |      |      |
|---------------+--------+------+------|
| Main task     | 6.33   |      |      |
| \_  Subtask 1 |        | 1.08 | 64.8 |
| \_  Subtask 2 |        | 2.17 |      |
| \_  Subtask 3 |        | 3.08 |      |
#+TBLFM: @4$4=$3 * 60
#+END:


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-01-13 17:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-13 16:59 Collectable results in minutes instead of HH:MM Axel Kielhorn
  -- strict thread matches above, loose matches on Subject: below --
2016-01-13 16:54 Axel Kielhorn

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