In python I am trying to parse the date string
Thu, 1 Oct 2015 16:05:43 +0200
to a struct_time
trying
x = time.strptime(date_string, "%a, %d %b %Y %H:%M:%S +0000")
which yields a ValueError
.
How to avoid the "+0200" (which I am not interested in)? Just remove the last 6 characters? Or is there a 'better' solution?