Function: gnus-date-get-time
gnus-date-get-time is a macro defined in gnus-util.el.gz.
Signature
(gnus-date-get-time DATE)
Documentation
Convert DATE string to Emacs time.
Cache the result as a text property stored in DATE.
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-util.el.gz
(defmacro gnus-date-get-time (date)
"Convert DATE string to Emacs time.
Cache the result as a text property stored in DATE."
;; Either return the cached value...
`(let ((d ,date))
(if (equal "" d)
'(0 0)
(or (get-text-property 0 'gnus-time d)
;; or compute the value...
(let ((time (safe-date-to-time d)))
;; and store it back in the string.
(put-text-property 0 1 'gnus-time time d)
time)))))