Function: calendar-iso-date-string
calendar-iso-date-string is an autoloaded and byte-compiled function
defined in cal-iso.el.gz.
Signature
(calendar-iso-date-string &optional DATE)
Documentation
String of ISO date of Gregorian DATE, default today.
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/cal-iso.el.gz
;;;###cal-autoload
(defun calendar-iso-date-string (&optional date)
"String of ISO date of Gregorian DATE, default today."
(let* ((d (calendar-absolute-from-gregorian
(or date (calendar-current-date))))
(day (% d 7))
(iso-date (calendar-iso-from-absolute d)))
(format "Day %s of week %d of %d"
(if (zerop day) 7 day)
(calendar-extract-month iso-date)
(calendar-extract-year iso-date))))