我是python的新手,我需要知道如何比较时间戳.
我有以下示例:
timestamp1: Feb 12 08:02:32 2015 timestamp2: Jan 27 11:52:02 2014
如何计算从timestamp1到timestamp2的天数或小时数?
我怎么知道哪个时间戳是最新的?
非常感谢.
python-2.7
python-2.7 ×1