Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

date.month date time

import datetime
dt = datetime.datetime.today()
print dt.year
# Output: 2016

print dt.month
# Output: 8

print dt.day
# Output: 22
Source by kite.com #
 
PREVIOUS NEXT
Tagged: #date #time
ADD COMMENT
Topic
Name
3+6 =