Function: calc-convert-time-zones
calc-convert-time-zones is an autoloaded, interactive and
byte-compiled function defined in calc-forms.el.gz.
Signature
(calc-convert-time-zones OLD &optional NEW)
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/calc/calc-forms.el.gz
(defun calc-convert-time-zones (old &optional new)
(interactive "sFrom time zone: ")
(calc-wrapper
(if (equal old "$")
(calc-enter-result 3 "tzcv" (cons 'calcFunc-tzconv (calc-top-list-n 3)))
(if (equal old "") (setq old "local"))
(or new
(setq new (read-string (concat "From time zone: " old
", to zone: "))))
(if (stringp old) (setq old (math-read-expr old)))
(if (eq (car-safe old) 'error)
(error "Error in expression: %S" (nth 1 old)))
(if (equal new "") (setq new "local"))
(if (stringp new) (setq new (math-read-expr new)))
(if (eq (car-safe new) 'error)
(error "Error in expression: %S" (nth 1 new)))
(calc-enter-result 1 "tzcv" (list 'calcFunc-tzconv
(calc-top-n 1) old new)))))