In [1]: import datetime
In [8]: datetime.datetime(2014, 12, 31) - datetime.datetime(2014,1,1)Out[8]: datetime.timedelta(364)In [9]: datetime.datetime(2014, 1, 2) - datetime.datetime(2014,1,1)Out[9]: datetime.timedelta(1)
No comments:
Post a Comment