Rudy’s OBTF Rudolf Adamkovič

Home / Emacs


World clock

A built-in major mode in Emacs that provides a world clock.

Entry point:

Run with elisp:world-clock, quit by typing q.

A message for the people sending “UTC offsets”:

Please, always tell your IANA time zone, so that we avoid DST and other issues. For example, Australia/Perth and not AWST (UTC+8). It is the best approach when working across time zones. If you do not know how to find your IANA time zone using your computer, use the website https://time.is/.

(with-eval-after-load 'time
  (setopt world-clock-buffer-name "*world clock*"))
(with-eval-after-load 'time
    (setopt world-clock-list
            '(;; ("America/Boise" "Aaron King - Enfluid")

              (;; "Australia/Perth"
               "Australia/Sydney"
               ;; "America/Los_Angeles"    ; includes Seattle
               ;; "America/New_York"
               ;; "America/Edmonton"
               ;; "Europe/Zurich"
               "Mike Mee - Egghead Games")

              ("Europe/Dublin" "MTU Ireland")
              ("Europe/London" "Aljazeera London")
              ;; ("Asia/Riyadh" "Abdurahman 'Abe' Itani")
              )))


© 2025 Rudolf Adamkovič under GNU General Public License version 3.
Made with Emacs and secret alien technologies of yesteryear.