I am new to python and I need to know how to compare timestamps.
I have the following example:
timestamp1: Feb 12 08:02:32 2015
timestamp2: Jan 27 11:52:02 2014
How can I calculate how many days or hours from timestamp1 to timestamp2?
How to find out which timestamp 1 is the last?
Many thanks.
source
share