Function: org-timer-secs-to-hms
org-timer-secs-to-hms is a byte-compiled function defined in
org-timer.el.gz.
Signature
(org-timer-secs-to-hms S)
Documentation
Convert integer S into h:mm:ss.
If the integer is negative, the string will start with "-".
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-timer.el.gz
(defun org-timer-secs-to-hms (s)
"Convert integer S into h:mm:ss.
If the integer is negative, the string will start with \"-\"."
(let (sign m h)
(setq sign (if (< s 0) "-" "")
s (abs s)
m (/ s 60) s (- s (* 60 m))
h (/ m 60) m (- m (* 60 h)))
(format "%s%d:%02d:%02d" sign h m s)))