I have date in following format
d = '2014-03-17 13:57:59-07:00'
How do I convert the above into timestamp object The following works
d1 = datetime.datetime.strptime(d, "%Y-%m-%d %H:%M:%S-07:00")
But then 7 is hardcoded.. i am not sure what that is? How do i ignore that part