Function: vhdl-template-insert-date
vhdl-template-insert-date is an interactive and byte-compiled function
defined in vhdl-mode.el.gz.
Signature
(vhdl-template-insert-date)
Documentation
Insert date in appropriate format.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/vhdl-mode.el.gz
(defun vhdl-template-insert-date ()
"Insert date in appropriate format."
(interactive)
(insert
(cond
;; 'american, 'european, 'scientific kept for backward compatibility
((eq vhdl-date-format 'american) (format-time-string "%m/%d/%Y" nil))
((eq vhdl-date-format 'european) (format-time-string "%d.%m.%Y" nil))
((eq vhdl-date-format 'scientific) (format-time-string "%Y/%m/%d" nil))
(t (format-time-string vhdl-date-format nil)))))