Function: date-to-day

date-to-day is an autoloaded and byte-compiled function defined in time-date.el.gz.

Signature

(date-to-day DATE)

Documentation

Return the absolute date of DATE, a date-time string.

The absolute 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/calendar/time-date.el.gz
;;;###autoload
(defun date-to-day (date)
  "Return the absolute date of DATE, a date-time string.
The absolute date is the number of days elapsed since the imaginary
Gregorian date Sunday, December 31, 1 BC."
  (time-to-days (date-to-time date)))