Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

datatime, comparison of time python,compare time python

>>> a
datetime.datetime(2009, 12, 2, 10, 24, 34, 198130)
>>> b
datetime.datetime(2009, 12, 2, 10, 24, 36, 910128)
>>> a < b
True
>>> a > b
False
>>> a == a
True
>>> b == b
True
>>>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #comparison #time #time #python
ADD COMMENT
Topic
Name
4+4 =