Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to get the year in python

from datetime import datetime
Current_Year = datetime.now().year
print(Current_Year)
 
PREVIOUS NEXT
Tagged: #year #python
ADD COMMENT
Topic
Name
6+4 =