Function: erc-cmd-TIME

erc-cmd-TIME is a byte-compiled function defined in erc.el.gz.

Signature

(erc-cmd-TIME &optional LINE)

Documentation

Request the current time and date from the current server.

Aliases

erc-cmd-DATE

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-cmd-TIME (&optional line)
  "Request the current time and date from the current server."
  (cond
   ((and line (string-match "^\\s-*\\(.*\\)$" line))
    (let ((args (match-string 1 line)))
      (erc-log (format "cmd: TIME: %s" args))
      (erc-server-send (concat "TIME " args)))
    t)
   (t (erc-server-send "TIME"))))