programming-examples/python/Date/Program to get days between two dates.py
2019-11-15 12:59:38 +01:00

4 lines
87 B
Python

from datetime import date
a = date(2000,2,28)
b = date(2001,2,28)
print(b-a)