Date and Time Functions Grand Finale


My code is not working. Can you tell me what is wrong?

from datetime import datetime
now =

print '%s/%s/%s %s:%s:%s' % (now.month,, now year, now.hour, now.minute, now.second)


Spot the missing character?


thank you. i did not see it


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