I get
time data \'19/Apr/2011:22:12:39\' does not match format \'%d/%b/%y:%H:%M:%S\'
when using datetime.strptime(\'19/Apr/2011:22:12:39\
datetime.strptime(\'19/Apr/2011:22:12:39\
You want %Y instead of %y. %Y means you want the century, %y is no century and the year is displayed from 00 to 99.