Function: org-clock-get-clocked-time

org-clock-get-clocked-time is a byte-compiled function defined in org-clock.el.gz.

Signature

(org-clock-get-clocked-time)

Documentation

Get the clocked time for the current item in minutes.

The time returned includes the time spent on this task in previous clocking intervals.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-clock.el.gz
(defun org-clock-get-clocked-time ()
  "Get the clocked time for the current item in minutes.
The time returned includes the time spent on this task in
previous clocking intervals."
  (let ((currently-clocked-time
	 (floor (org-time-convert-to-integer
		 (time-since org-clock-start-time))
		60)))
    (+ currently-clocked-time (or org-clock-total-time 0))))