Parsing string to datetime month & day reversed

You can use strptime to parse dates/times with unusual formats:

http://www.ruby-doc.org/core/classes/DateTime.html#M002824