Function: diary-make-date

diary-make-date is a byte-compiled function defined in diary-lib.el.gz.

Signature

(diary-make-date A B C)

Documentation

Convert A B C into the internal calendar date form.

The expected order of the inputs depends on calendar-date-style, e.g. in the European case, A = day, B = month, C = year. Returns a list (MONTH DAY YEAR), i.e. the American style, which is the form used internally by the calendar and diary.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/diary-lib.el.gz
(defun diary-make-date (a b c)
  "Convert A B C into the internal calendar date form.
The expected order of the inputs depends on `calendar-date-style',
e.g. in the European case, A = day, B = month, C = year.  Returns
a list (MONTH DAY YEAR), i.e. the American style, which is the
form used internally by the calendar and diary."
  (cond ((eq calendar-date-style 'iso)  ; YMD
         (list b c a))
        ((eq calendar-date-style 'european) ; DMY
         (list b a c))
        (t (list a b c))))