DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
6+7 =
Submit