Function: safe-date-to-time
safe-date-to-time is an autoloaded and byte-compiled function defined
in time-date.el.gz.
Signature
(safe-date-to-time DATE)
Documentation
Parse a string DATE that represents a date-time and return a time value.
If DATE is malformed, return a time value of zero.
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/time-date.el.gz
;;;###autoload
(defun safe-date-to-time (date)
"Parse a string DATE that represents a date-time and return a time value.
If DATE is malformed, return a time value of zero."
(condition-case ()
(date-to-time date)
(error 0)))