def convert_date(date):
date = convert_month(date, shorten=False)<EOL>clean_string = convert_string(date)<EOL>return datetime.strptime(clean_string, DATE_FMT.replace('<STR_LIT:->','<STR_LIT>'))<EOL>
Convert string to datetime object.