Help with 3/6


#1

from datetime import datetime
now = datetime.now()
print now
year = year.now()
month = month.now()
day = month.day()
print year
print month
print day

could someone help me figure out what is wrong with my code? It is for part 3 of six in the Date and Time lessons


#2

3/6 the finale?
print '%s/%s/%s %s:%s:%s' % (now.month, now.day, now.year, now.hour, now.minute, now.second)
thats how you do it....


#3

I finished it. I found something in archived files in Q&A.


#4

from datetime import datetime

now =datetime.now()
print now
print now.year
print now.month
print now.day