Function: calendar-time-from-absolute
calendar-time-from-absolute is a byte-compiled function defined in
cal-dst.el.gz.
Signature
(calendar-time-from-absolute ABS-DATE S)
Documentation
Time of absolute date ABS-DATE, S seconds after midnight.
Return the number of seconds since 1970-01-01 00:00:00 UTC, ignoring leap seconds, that is the equivalent moment to S seconds after midnight UTC on absolute date ABS-DATE.
Probably introduced at or before Emacs version 22.1.
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/cal-dst.el.gz
(defun calendar-time-from-absolute (abs-date s)
"Time of absolute date ABS-DATE, S seconds after midnight.
Return the number of seconds since 1970-01-01 00:00:00 UTC,
ignoring leap seconds, that is the equivalent moment to S seconds
after midnight UTC on absolute date ABS-DATE."
(let ((secsperday 86400))
(+ s (* secsperday (- abs-date calendar-system-time-basis)))))