Function: seconds-to-time

seconds-to-time is an autoloaded and byte-compiled function defined in time-date.el.gz.

Signature

(seconds-to-time SECONDS)

Documentation

Convert SECONDS to a proper time, like current-time would.

Probably introduced at or before Emacs version 25.1.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/time-date.el.gz
;;;###autoload
(defun seconds-to-time (seconds)
  "Convert SECONDS to a proper time, like `current-time' would."
  ;; FIXME: Should we (declare (obsolete time-convert "27.1")) ?
  (time-convert seconds 'list))