Dates support calendar arithmetic
from datetime import date birthday = date(1964, 7, 31) now = date(2006, 7, 31) age = now - birthday print age.days