Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python datetime minus datetime

from datetime import datetime

birthday = datetime(1988, 2, 19, 12, 0, 0)
diff = datetime.now() - birthday
print diff
# 8954 days, 7:03:45.765329
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #datetime #datetime
ADD COMMENT
Topic
Name
4+2 =