Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> from datetime import date
>>> date1=date(2018,7,17)
>>> date2=date(2019,7,17)
>>> delta=date2-date1
>>> print(delta.days)
365
>>> delta
datetime.timedelta(days=365)
>>> 
