Function: timezone-absolute-from-gregorian

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

Signature

(timezone-absolute-from-gregorian MONTH DAY YEAR)

Documentation

The number of days between the Gregorian date 12/31/1 BC and month/day/year.

The Gregorian date Sunday, December 31, 1 BC is imaginary.

Source Code

;; Defined in /usr/src/emacs/lisp/timezone.el.gz
(defun timezone-absolute-from-gregorian (month day year)
  "The number of days between the Gregorian date 12/31/1 BC and month/day/year.
The Gregorian date Sunday, December 31, 1 BC is imaginary."
  (+ (timezone-day-number month day year);; Days this year
     (* 365 (1- year));;	+ Days in prior years
     (/ (1- year) 4);;		+ Julian leap years
     (- (/ (1- year) 100));;	- century years
     (/ (1- year) 400)));;	+ Gregorian leap years