Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to find current age from date of birth in python

today_date = datetime.datetime.now()
dob = datetime.datetime(1982, 5, 20)
print(today_date - dob)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #find #current #age #date #birth #python
ADD COMMENT
Topic
Name
4+7 =