Variable: seconds-to-string

seconds-to-string is a variable defined in time-date.el.gz.

Value

((1 "ms" 0.001) (100 "s" 1) (6000 "m" 60.0) (108000 "h" 3600.0)
 (34560000 "d" 86400.0) (nil "y" 31557600.0))

Documentation

Formatting used by the function seconds-to-string(var)/seconds-to-string(fun).

View in manual

Probably introduced at or before Emacs version 31.1.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/time-date.el.gz
(defvar seconds-to-string
  (list (list 1 "ms" 0.001)
        (list 100 "s" 1)
        (list (* 60 100) "m" 60.0)
        (list (* 3600 30) "h" 3600.0)
        (list (* 3600 24 400) "d" (* 3600.0 24.0))
        (list nil "y" (* 365.25 24 3600)))
  "Formatting used by the function `seconds-to-string'.")