Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

datetime current year

import datetime as dt
year = dt.datetime.now().year
month = dt.datetime.now().month
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #datetime #current #year
ADD COMMENT
Topic
Name
6+7 =