Code: Select all
sparkle:beesbuzz.biz main$ python3
imPython 3.11.6 (v3.11.6:8b6ee5ba3b, Oct 2 2023, 11:18:21) [Clang 13.0.0 (clang-1300.0.29.30)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import datetime
>>> datetime.date(1978,6,14)
datetime.date(1978, 6, 14)
>>> datetime.date(2001,1,4) - datetime.date(1978,6,14)
datetime.timedelta(days=8240)
>>> datetime.date(2001,1,4) + (datetime.date(2001,1,4) - datetime.date(1978,6,14))
datetime.date(2023, 7, 28)