Function: timeclock-workday-remaining-string
timeclock-workday-remaining-string is an autoloaded, interactive and
byte-compiled function defined in timeclock.el.gz.
Signature
(timeclock-workday-remaining-string &optional SHOW-SECONDS TODAY-ONLY)
Documentation
Return a string representing the amount of time left today.
Display second resolution if SHOW-SECONDS is non-nil. If TODAY-ONLY
is non-nil, the display will be relative only to time worked today.
See timeclock-relative for more information about the meaning of
"relative to today".
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/timeclock.el.gz
;;;###autoload
(defun timeclock-workday-remaining-string (&optional show-seconds
today-only)
"Return a string representing the amount of time left today.
Display second resolution if SHOW-SECONDS is non-nil. If TODAY-ONLY
is non-nil, the display will be relative only to time worked today.
See `timeclock-relative' for more information about the meaning of
\"relative to today\"."
(interactive)
(let ((string (timeclock-seconds-to-string
(timeclock-workday-remaining today-only)
show-seconds t)))
(if (called-interactively-p 'interactive)
(message "%s" string)
string)))