How to calculate number of days from past date in Python?
>> birthday = date(1957, 2, 11) >>> age = now - birthday >>> age.days 15668
Re: How to calculate number of days from past date in Python?
>> birthday = date(1957, 2, 11)
>>> age = now - birthday
>>> age.days
15668