I was trying to parse a date string containing "EDT" time zone eg: 'Mon Jun 20 14:00:57 EDT 2011' I tried: datetime.strptime('Mon Jun 20 14:00:57 EDT 2011', '%a %b %d %H:%M:%S %Z %Y') But I get error