Date & Time#6, The Grand Finale


Where is the mistake?
Here is my code-

from datetime import datetime
now =

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


Check your variables (now.month etc)again,that are going to set inside the strings.(using formatters)


ok thanks, i really appreciate that




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