Function: timezone-make-date-sortable

timezone-make-date-sortable is a byte-compiled function defined in timezone.el.gz.

Signature

(timezone-make-date-sortable DATE &optional LOCAL TIMEZONE)

Documentation

Convert DATE to a sortable date string.

Optional 2nd argument LOCAL specifies the default local timezone of the DATE; if nil, GMT is assumed. Optional 3rd argument TIMEZONE specifies a timezone to be represented in; if nil, the local time zone is assumed.

Source Code

;; Defined in /usr/src/emacs/lisp/timezone.el.gz
(defun timezone-make-date-sortable (date &optional local timezone)
  "Convert DATE to a sortable date string.
Optional 2nd argument LOCAL specifies the default local timezone of the DATE;
if nil, GMT is assumed.
Optional 3rd argument TIMEZONE specifies a timezone to be represented in;
if nil, the local time zone is assumed."
  (let ((new (timezone-fix-time date local timezone)))
    (timezone-make-sortable-date (aref new 0) (aref new 1) (aref new 2)
				 (timezone-make-time-string
				  (aref new 3) (aref new 4) (aref new 5)))))