@defun date-to-time string
This function parses the time-string @var{string} and returns the
- corresponding Lisp timestamp.
-corresponding time value. The argument @var{string} should represent
++corresponding Lisp timestamp. The argument @var{string} should represent
+ a date-time, and should be in one of the forms recognized by
+ @code{parse-time-string} (see below). This function assumes the GMT
+ timezone if @var{string} lacks an explicit timezone information.
+ @end defun
+
+ @defun parse-time-string string
+ This function parses the time-string @var{string} into a list of the
+ following form:
+
+ @example
+ (@var{sec} @var{min} @var{hour} @var{day} @var{mon} @var{year} @var{dow} @var{dst} @var{tz})
+ @end example
+
+ @noindent
+ The format of this list is the same as what @code{decode-time} accepts
+ (@pxref{Time Conversion}), and is described in more detail there. Any
+ element that cannot be determined from the input will be set to
+ @code{nil}. The argument @var{string} should resemble an RFC 2822 or
+ ISO 8601 string, like ``Fri, 25 Mar 2016 16:24:56 +0100'' or
+ ``1998-09-12T12:21:54-0200'', but this function will attempt to parse
+ less well-formed time strings as well.
@end defun
@defun format-time-string format-string &optional time zone