Scieneer Common Lisp 1.3.9 online documentation

ext:parse-time time-string &key start end error-on-mismatch patterns default-seconds default-minutes default-hours default-day default-month default-year default-zone default-weekday[Function]

Tries very hard to make sense out of the argument time-string and returns a single integer representing the universal time if successful. If not, it returns nil. If the :error-on-mismatch keyword is true, parse-time will signal an error instead of returning nil. Default values for each part of the time/date can be specified by the appropriate :default- keyword. These keywords can be given a numeric value or the keyword :current to set them to the current value. The default-default values are 00:00:00 on the current date, current time-zone.