Function: icalendar--datetime-to-american-date

icalendar--datetime-to-american-date is a byte-compiled function defined in icalendar.el.gz.

Signature

(icalendar--datetime-to-american-date DATETIME &optional SEPARATOR)

Documentation

Convert the decoded DATETIME to American-style format.

Optional argument SEPARATOR gives the separator between month, day, and year. If nil a blank character is used as separator. American format: "month day year".

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/icalendar.el.gz
(defun icalendar--datetime-to-american-date (datetime &optional separator)
  "Convert the decoded DATETIME to American-style format.
Optional argument SEPARATOR gives the separator between month,
day, and year.  If nil a blank character is used as separator.
American format: \"month day year\"."
  (if datetime
      (format "%d%s%d%s%d" (nth 4 datetime) ;month
              (or separator " ")
              (nth 3 datetime)          ;day
              (or separator " ")
              (nth 5 datetime))         ;year
    ;; datetime == nil
    nil))