Function: erc-sec-to-time
erc-sec-to-time is a byte-compiled function defined in erc.el.gz.
Signature
(erc-sec-to-time NS)
Documentation
Convert NS to a time string HH:MM.SS.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-sec-to-time (ns)
"Convert NS to a time string HH:MM.SS."
(setq ns (truncate ns))
(format "%02d:%02d.%02d"
(/ ns 3600)
(/ (% ns 3600) 60)
(% ns 60)))