using strptime to create a date object

Im wondering if it is possible to turn a string with a month name such
as: "July 20, 2008" directly into a date object using strptime. If
this is not possible am I going to have to write my own function to do
this? I was thinking I could have and array with all the months and
shuffle through it to get the month number and then use that to create
a date object.

Dave Lynam wrote:

Im wondering if it is possible to turn a string with a month name such
as: "July 20, 2008" directly into a date object using strptime. If
this is not possible am I going to have to write my own function to do
this? I was thinking I could have and array with all the months and
shuffle through it to get the month number and then use that to create
a date object.

Date.strptime("July 20, 2008", "%b %d, %Y")

Something like the chronic gem at http://chronic.rubyforge.org/
maybe?