DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to use datetime to tell your age in python
today_date = datetime.datetime.now() dob = datetime.datetime(1982, 5, 20) print(today_date - dob)
PREVIOUS
NEXT
Tagged:
#datetime
#age
#python
ADD COMMENT
Topic
COMMENT
Name
6+2 =
Submit