Package to parse dates in Common Lisp?

You could try net-telent-date which has PARSE-TIME which I think will do what you want.

Up vote 3 down vote favorite share g+ share fb share tw.

I'm writing a simple web scraper in Common Lisp (SBCL) as a learning exercise, & would like to sort by date. To do this, I'll need to parse dates in the format "MM/DD/YYYY" into universal time. I could simply tokenise the string & pass the bits into encode-universal-time, but I figure that there must be a built-in function (or popular third-party package) for date parsing.

I'd greatly appreciate someone recommending one :-) common-lisp link|improve this question asked May 2 '11 at 7:12Duncan Bayne1,202417 100% accept rate.

Amusing tangent: one library I found had a website with the comment "fixme: Does not parse yyyymmddTHHMMSS Z god damn it all. Needs an overhaul" so I figured I'd skip that one ;-) – Duncan Bayne May 2 '11 at 7:29.

You could try net-telent-date, which has PARSE-TIME which I think will do what you want. Also Common Lisp Directory has a list of libraries, several of which claim to handle dates.

See the net-telent-date and simple-date-time libraries for Common Lisp. The former has a parse-time function you can use (see parse-time. Lisp).

Both are included in the QuickLisp library collection.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions