Function: time-since

time-since is an autoloaded and byte-compiled function defined in time-date.el.gz.

Signature

(time-since TIME)

Documentation

Return the time elapsed since TIME.

TIME should be either a time value or a date-time string.

Aliases

org-time-since (obsolete since 9.6)

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/time-date.el.gz
;;;###autoload
(defun time-since (time)
  "Return the time elapsed since TIME.
TIME should be either a time value or a date-time string."
  (when (stringp time)
    ;; Convert date strings to internal time.
    (setq time (date-to-time time)))
  (time-subtract nil time))