Function: archive-unixdate

archive-unixdate is a byte-compiled function defined in arc-mode.el.gz.

Signature

(archive-unixdate LOW HIGH)

Documentation

Stringify Unix (LOW HIGH) date.

Source Code

;; Defined in /usr/src/emacs/lisp/arc-mode.el.gz
(defun archive-unixdate (low high)
  "Stringify Unix (LOW HIGH) date."
  (let* ((time (list high low))
	 (str (current-time-string time)))
    (format "%s-%s-%s"
	    (substring str 8 10)
	    (substring str 4 7)
	    (format-time-string "%Y" time))))