Function: timezone-time-zone-from-absolute

timezone-time-zone-from-absolute is a byte-compiled function defined in timezone.el.gz.

Signature

(timezone-time-zone-from-absolute DATE SECONDS)

Documentation

Compute the local time zone for DATE at time SECONDS after midnight.

Return a list in the same format as current-time-zones result, or nil if the local time zone could not be computed. DATE is the number of days elapsed since the (imaginary) Gregorian date Sunday, December 31, 1 BC.

Source Code

;; Defined in /usr/src/emacs/lisp/timezone.el.gz
(defun timezone-time-zone-from-absolute (date seconds)
  "Compute the local time zone for DATE at time SECONDS after midnight.
Return a list in the same format as `current-time-zone's result,
or nil if the local time zone could not be computed.
DATE is the number of days elapsed since the (imaginary)
Gregorian date Sunday, December 31, 1 BC."
  (let ((utc-time (timezone-time-from-absolute date seconds)))
    (and utc-time
	 (let ((zone (current-time-zone utc-time)))
	   (and (car zone) zone)))))