Function: time-stamp-string

time-stamp-string is a byte-compiled function defined in time-stamp.el.gz.

Signature

(time-stamp-string &optional TS-FORMAT TIME)

Documentation

Generate the new string to be inserted by M-x time-stamp (time-stamp).

Optionally use format TS-FORMAT instead of time-stamp-format to format the string. Optional second argument TIME is only for testing; normally the current time is used.

Source Code

;; Defined in /usr/src/emacs/lisp/time-stamp.el.gz
(defun time-stamp-string (&optional ts-format time)
  "Generate the new string to be inserted by \\[time-stamp].
Optionally use format TS-FORMAT instead of `time-stamp-format' to
format the string.  Optional second argument TIME is only for testing;
normally the current time is used."
  (if (stringp (or ts-format (setq ts-format time-stamp-format)))
      (time-stamp-string-preprocess ts-format time)))