I have a string that I've converted to a datetime object using parse.
time = 'Tue, 30 Sep 2014 16:19:08 -0700 (PDT)'
date_object = parse(time)
I want to find the time that has elapsed since then. I tried using datetime.datetime.now()
and subtract the two, but they are different format and was throwing an error.
What is the best way to do this?