Function: math-days-in-month

math-days-in-month is a byte-compiled function defined in calc-forms.el.gz.

Signature

(math-days-in-month YEAR MONTH)

Source Code

;; Defined in /usr/src/emacs/lisp/calc/calc-forms.el.gz
(defun math-days-in-month (year month)
  (if (and (= month 2) (math-leap-year-p year))
      29
    (aref [31 28 31 30 31 30 31 31 30 31 30 31] (1- month))))