convert String to DateTime

Shouldn't this also work for Rails?

"30/Nov/2009 16:29:30 +0100".to_datetime

DateTime.strptime allows you to specify the format and convert a String to a DateTime.