I wish to convert one time zone(GMT) to another (IST) using python.
My datetime string 2015-08-19 11:11:51 +0000
I am trying to convert datetime object datetime.datetime.strptime("2015-08-19 11:11:51 %z",'%Y-%m-%d %H:%M:%S +0000')
But I am getting following error
time data '2015-08-19 11:11:51 %z' does not match format '%Y-%m-%d %H:%M:%S +0000'
+0000
refers to time zone diff with respect to GMT.