I am capturing the header of an Email to Email Date in the format below: Fri, 27 Mar 2020 12:05:17 +0000 (UTC) I need to transform to the format: YYYY-MM-DD HH: MM I tried to use the datetime.strptime function but to no avail. Can anyone help me with this? Continue reading...