Function: diary-sunrise-sunset

diary-sunrise-sunset is an autoloaded and byte-compiled function defined in solar.el.gz.

Signature

(diary-sunrise-sunset)

Documentation

Local time of sunrise and sunset as a diary entry.

Accurate to a few seconds.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/solar.el.gz
;;;###diary-autoload
(defun diary-sunrise-sunset ()
  "Local time of sunrise and sunset as a diary entry.
Accurate to a few seconds."
  ;; To be called from diary-list-sexp-entries, where DATE is bound.
  (with-no-warnings (defvar date))
  (or (and calendar-latitude calendar-longitude calendar-time-zone)
      (solar-setup))
  (solar-sunrise-sunset-string date))