Python Date and Time Help: I don't know what's wrong!


"Oops, try again. Your printed date doesn't seem to be in the proper format: mm/dd/yyyy."


Replace this line with your code. 
from datetime import datetime
now =

print '%s-%s-%s' % (now.year, now.month,


So what needs to change, here?


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.